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
minor #43647 [DependencyInjection] show class name on DI errors (hhoechtl)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[DependencyInjection] show class name on DI errors
#43645
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | Fix#43645
| License | MIT
Commits
-------
b74c36a [DependencyInjection] show class name on DI errors
thrownewOutOfBoundsException(sprintf('The index "%d" is not in the range [0, %d].', $index, \count($this->arguments) - 1));
272
+
thrownewOutOfBoundsException(sprintf('The index "%d" is not in the range [0, %d] of the arguments of class "%s".', $index, \count($this->arguments) - 1, $this->class));
273
273
}
274
274
275
275
if (!\array_key_exists($index, $this->arguments)) {
0 commit comments