Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] fix: allows injection using multiple interfaces with the same concrete implementation #53275

Merged
merged 20 commits into from
Dec 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fix code style issues
jamiethorpe committed Nov 1, 2024
commit 3da582a78c85ac2762c86a08fc622afc06aec31f
8 changes: 4 additions & 4 deletions src/Illuminate/Routing/ResolvesRouteDependencies.php
Original file line number Diff line number Diff line change
@@ -77,10 +77,10 @@ public function resolveMethodDependencies(array $parameters, ReflectionFunctionA
/**
* Attempt to transform the given parameter into a class instance.
*
* @param ReflectionParameter $parameter
* @param array $parameters
* @param ReflectionParameter $parameter
* @param array $parameters
* @param $className
* @param object $skippableValue
* @param object $skippableValue
* @param $resolvedInterfaces
* @return mixed
*
@@ -134,7 +134,7 @@ protected function alreadyInResolvedInterfaces($class, array $resolvedInterfaces
* in the list of parameters.
*
* @param $className
* @param array $parameters
* @param array $parameters
* @param $resolvedInterfaces
* @return bool
*/