Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonis committed Feb 14, 2016
1 parent 432fdcb commit d9b6584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Module/Controller/ControllerResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ protected function createController($controller)
} elseif (1 == $count) {
// controller in the service:method notation
list($service, $method) = explode(':', $controller, 2);

return array($this->serviceManager->get($service), $method);
} else {
if ($this->serviceManager->has($controller) && method_exists($service = $this->serviceManager->get($controller), '__invoke')) {
Expand Down

0 comments on commit d9b6584

Please sign in to comment.