Permalink
Browse files

fixes cs

  • Loading branch information...
1 parent c76b640 commit ea3757268c7b22c525d485a7f5e374c71976edad @alrik committed Aug 30, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 library/Zend/Mvc/Service/ViewHelperManagerFactory.php
@@ -52,15 +52,15 @@ public function createService(ServiceLocatorInterface $serviceLocator)
if (is_string($configClass) && class_exists($configClass)) {
$config = new $configClass;
- if (!$config instanceof ConfigInterface) {
- throw new Exception\RuntimeException(sprintf(
- 'Invalid service manager configuration class provided; received "%s", expected class implementing %s',
- $configClass,
- 'Zend\ServiceManager\ConfigInterface'
- ));
- }
-
- $config->configureServiceManager($plugins);
+ if (!$config instanceof ConfigInterface) {
+ throw new Exception\RuntimeException(sprintf(
+ 'Invalid service manager configuration class provided; received "%s", expected class implementing %s',
+ $configClass,
+ 'Zend\ServiceManager\ConfigInterface'
+ ));
+ }
+
+ $config->configureServiceManager($plugins);
}
}

0 comments on commit ea37572

Please sign in to comment.