@@ -91,7 +91,7 @@ |
||
| 91 | 91 | if ($this->layout && (!$layoutPath = $this->getLayoutFile((new KernelInjector)->get()->getAppDir(), |
| 92 | 92 | $this->module)) |
| 93 | 93 | ) { |
| 94 | - (new LoggerInjector)->build()->send('error', 'Layout `' . $this->layout . '` not found'); |
|
| 94 | + (new LoggerInjector)->build()->send('error', 'Layout `'.$this->layout.'` not found'); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | if ($layoutPath) { |
@@ -118,11 +118,11 @@ discard block |
||
| 118 | 118 | public function beginWidget($name, array $options = []) |
| 119 | 119 | { |
| 120 | 120 | if (!class_exists($name)) { |
| 121 | - throw new Exception('Widget `' . $name . '` not found.'); |
|
| 121 | + throw new Exception('Widget `'.$name.'` not found.'); |
|
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | if (!empty($GLOBALS['widgetStack'][$name])) { |
| 125 | - throw new Exception('This widget `' . $name . '` already started!'); |
|
| 125 | + throw new Exception('This widget `'.$name.'` already started!'); |
|
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | $GLOBALS['widgetStack'][$name] = new $name($options); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | if (empty($GLOBALS['widgetStack'][$name]) && !class_exists($name)) { |
| 163 | - throw new Exception('Widget `' . $name . '` not started.'); |
|
| 163 | + throw new Exception('Widget `'.$name.'` not started.'); |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** @var \Micro\mvc\Widget $widget widget */ |