Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
canonicalize the alias name when retrieving the key from the aliases …
Browse files Browse the repository at this point in the history
…array
  • Loading branch information
scottaubrey committed Jan 14, 2016
1 parent 1939384 commit d01978a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ protected function resolveAlias($cName)
}

$stack[$cName] = $cName;
$cName = $this->aliases[$cName];
$cName = $this->aliases[$this->canonicalizeName($cName)];
}

return $cName;
Expand Down

0 comments on commit d01978a

Please sign in to comment.