@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param string $module |
50 | 50 | * @return ModuleHandler |
51 | 51 | */ |
52 | - public static function for(string $module): ModuleHandler |
|
52 | + public static function for (string $module): ModuleHandler |
|
53 | 53 | { |
54 | 54 | /** @var ModuleHandler $moduleHandler */ |
55 | 55 | $moduleHandler = Container::get(__NAMESPACE__ . '\\' . $module . 'ModuleHandler'); |
@@ -81,7 +81,7 @@ |
||
81 | 81 | { |
82 | 82 | $content = $this->renderChildren(); |
83 | 83 | |
84 | - $moduleHandler = ModuleHandler::for($this->arguments['module']); |
|
84 | + $moduleHandler = ModuleHandler::for ($this->arguments['module']); |
|
85 | 85 | |
86 | 86 | if (!$moduleHandler->canBeAccessed()) { |
87 | 87 | return $content; |
@@ -42,6 +42,6 @@ |
||
42 | 42 | */ |
43 | 43 | public function render() |
44 | 44 | { |
45 | - return ModuleHandler::for($this->arguments['module'])->canBeAccessed(); |
|
45 | + return ModuleHandler::for ($this->arguments['module'])->canBeAccessed(); |
|
46 | 46 | } |
47 | 47 | } |
@@ -42,6 +42,8 @@ |
||
42 | 42 | */ |
43 | 43 | public function render() |
44 | 44 | { |
45 | - return ModuleHandler::for($this->arguments['module'])->canBeAccessed(); |
|
45 | + return ModuleHandler::for($this->arguments['module']) { |
|
46 | + ->canBeAccessed(); |
|
47 | + } |
|
46 | 48 | } |
47 | 49 | } |