Commit 51cdc3a
committed
bug symfony#48273 [HttpKernel] Fix message for unresovable arguments of invokable controllers (fancyweb)
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpKernel] Fix message for unresovable arguments of invokable controllers
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Before:
```
Could not resolve argument $logger of "app\controller\foocontroller()", maybe you ...
```
After:
```
Could not resolve argument $logger of "App\Controller\FooController::__invoke()", maybe you ...
```
Commits
-------
a379c35 [HttpKernel] Fix message for unresovable arguments of invokable controllersFile tree
2 files changed
+14
-2
lines changed- src/Symfony/Component/HttpKernel
- Controller/ArgumentResolver
- Tests/Controller/ArgumentResolver
2 files changed
+14
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
101 | 112 | | |
102 | 113 | | |
103 | 114 | | |
| |||
0 commit comments