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
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,11 @@ This extension provides following features:
11
11
* Provides correct return type for `ContainerInterface::get()` and `::has()` methods.
12
12
* Provides correct return type for `Controller::get()` and `::has()` methods.
13
13
* Provides correct return type for `Request::getContent()` method based on the `$asResource` parameter.
14
+
* Provides correct return type for `HeaderBag::get()` method based on the `$first` parameter.
15
+
* Provides correct return type for `Envelope::all()` method based on the `$stampFqcn` parameter.
14
16
* Notifies you when you try to get an unregistered service from the container.
15
17
* Notifies you when you try to get a private service from the container.
18
+
* Optionally correct return types for `InputInterface::getArgument()` and `::getOption`
16
19
17
20
## Usage
18
21
@@ -55,3 +58,21 @@ parameters:
55
58
```
56
59
57
60
Be aware that it may hide genuine errors in your application.
61
+
62
+
## Console command analysis
63
+
64
+
You can opt in for more advanced analysis by providing the console application from your own application. This will allow the correct argument and option types to be inferred when accessing $input->getArgument() or $input->getOption().
0 commit comments