Skip to content

Commit

Permalink
fix: variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
marriosdev committed Oct 16, 2023
1 parent d021138 commit e30a92c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ private function recursiveDependenciesBuild(ReflectionClass $reflectionControlle

$arguments = array();
foreach($dependencies as $dependency){
$depencyClassName = $dependency->getType()->getName();
$dependencyReflectionClass = new ReflectionClass($depencyClassName);
$dependencyClassName = $dependency->getType()->getName();
$dependencyReflectionClass = new ReflectionClass($dependencyClassName);
$arguments[] = $this->recursiveDependenciesBuild($dependencyReflectionClass);
}
return $reflectionControllerInstance->newInstanceArgs($arguments);
Expand Down

0 comments on commit e30a92c

Please sign in to comment.