Passed
Push — master ( db6a36...5836ff )
by Oleg
03:42
created
mvc/views/View.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,11 +118,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 */
Please login to merge, or discard this patch.