Passed
Push — master ( db6a36...5836ff )
by Oleg
03:42
created
mvc/views/PhpView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
base/Injector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @access public
61 61
      * @param string $name
62
-     * @param mixed $component
62
+     * @param Dispatcher $component
63 63
      * @return void
64 64
      */
65 65
     public function addRequirement($name, $component)
Please login to merge, or discard this patch.
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.