We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4374b4e commit bc24820Copy full SHA for bc24820
src/Traits/GetDependenciesTrait.php
@@ -26,7 +26,7 @@ protected function transformDependency(ReflectionParameter $parameter)
26
return null;
27
}
28
29
- return interface_exists($class->getName()) ? $this->getClassByInterface($class->getName()) : $class->getName();
+ return interface_exists($type->getName()) ? $this->getClassByInterface($type->getName()) : $type->getName();
30
31
32
protected function getClassByInterface($interfaceName)
0 commit comments