Skip to content

Commit

Permalink
use checked name
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Sep 22, 2016
1 parent 0de73f1 commit b5f5fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ManagerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function addBuilder(Builder $builder)
throw new \RuntimeException(sprintf('"%s" manager builder is already registered', $builderName));
}

$this->builders[$builder->getName()] = $builder;
$this->builders[$builderName] = $builder;

return $this;
}
Expand Down

0 comments on commit b5f5fbb

Please sign in to comment.