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

Commit

Permalink
Merge pull request zendframework/zendframework#1947 from bakura10/ser…
Browse files Browse the repository at this point in the history
…vice-manager/fix

Service manager/fix
  • Loading branch information
EvanDotPro committed Jul 21, 2012
8 parents 3dc45ae + 180e140 + 67c3033 + 533cd3e + 29e7718 + 936c9be + 2d11657 + 426a984 commit c941b0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ public function addInitializer($initializer, $topOfStack = true)
public function setService($name, $service, $shared = true)
{
$cName = $this->canonicalizeName($name);
$rName = $name;

if ($this->allowOverride === false && $this->has($cName, false)) {
throw new Exception\InvalidServiceNameException(sprintf(
Expand Down

0 comments on commit c941b0e

Please sign in to comment.