Applied php-cs-fixer with level psr2

This commit is contained in:
Franck Allimant
2014-05-17 10:49:34 +02:00
parent ef142ca077
commit 2c7337d8e0
4 changed files with 123 additions and 119 deletions

View File

@@ -189,8 +189,8 @@ class Module extends BaseModule
* @return BaseModuleInterface a module instance
* @throws \InvalidArgumentException if the module could not be found in the container/
*/
public function getModuleInstance(ContainerInterface $container) {
public function getModuleInstance(ContainerInterface $container)
{
$instance = $container->get(sprintf('module.%s', $this->getCode()));
if ($instance == null) {