@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * |
112 | 112 | * @param string $layoutId Layout identifier |
113 | 113 | * |
114 | - * @return mixed string | false |
|
114 | + * @return string string | false |
|
115 | 115 | */ |
116 | 116 | private function getLayoutPath($layoutId) |
117 | 117 | { |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | /** |
350 | 350 | * Save parameters to database. |
351 | 351 | * |
352 | - * @return Registry |
|
352 | + * @return boolean |
|
353 | 353 | */ |
354 | 354 | public function saveParams() |
355 | 355 | { |
@@ -128,7 +128,7 @@ |
||
128 | 128 | $defaultTemplate = ($originalTemplate == $template); |
129 | 129 | |
130 | 130 | $layoutPaths = $defaultTemplate ? $this->getLayoutPaths() : array_map( |
131 | - function ($path) use ($originalTemplate, $template) |
|
131 | + function($path) use ($originalTemplate, $template) |
|
132 | 132 | { |
133 | 133 | return str_replace( |
134 | 134 | $this->getThemesPath() . '/' . $originalTemplate, |