You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add documentation for features that were implemented but not listed
in the README: ResponseHeaderBag::getCookies(), Serializer/Denormalizer
return types, HandleTrait::handle(), FormInterface::getErrors(),
KernelInterface::locateResource(), Extension::getConfiguration(),
CacheInterface::get(), BrowserKitAssertionsTrait::getClient(),
Command::getHelper(), console argument/option validation rules,
and @required autowiring support. Also fix missing parentheses
on existing InputInterface method references.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,22 @@ This extension provides following features:
20
20
* Provides correct return type for `Envelope::all()` method based on the `$stampFqcn` parameter.
21
21
* Provides correct return type for `InputBag::get()` method based on the `$default` parameter.
22
22
* Provides correct return type for `InputBag::all()` method based on the `$key` parameter.
23
+
* Provides correct return type for `ResponseHeaderBag::getCookies()` method based on the format argument.
23
24
* Provides correct return types for `TreeBuilder` and `NodeDefinition` objects.
25
+
* Provides correct return type for `SerializerInterface::deserialize()` and `DenormalizerInterface::denormalize()` methods based on the `$type` argument.
26
+
* Provides correct return type for `HandleTrait::handle()` method based on the message handler map.
27
+
* Provides correct return type for `FormInterface::getErrors()` method based on the `$deep` and `$flatten` parameters.
28
+
* Provides correct return type for `KernelInterface::locateResource()` method.
29
+
* Provides correct return type for `Extension::getConfiguration()` method.
30
+
* Provides correct return type for `CacheInterface::get()` method based on the callback return type.
31
+
* Provides correct return type for `BrowserKitAssertionsTrait::getClient()` method.
24
32
* Notifies you when you try to get an unregistered service from the container.
25
33
* Notifies you when you try to get a private service from the container.
26
-
* Optionally correct return types for `InputInterface::getArgument()`, `::getOption`, `::hasArgument`, and `::hasOption`.
34
+
* Notifies you when you access undefined console command arguments or options.
35
+
* Validates default values of console command arguments and options.
36
+
* Recognizes `@required` annotation and `#[Required]` attribute for autowiring properties and methods.
37
+
* Optionally correct return types for `InputInterface::getArgument()`, `::getOption()`, `::getOptions()`, `::hasArgument()`, and `::hasOption()`.
38
+
* Optionally provides correct return type for `Command::getHelper()` method.
0 commit comments