Test Failed
Push — master ( e3ba09...03f0a0 )
by Flo
02:41
created
src/View/ViewController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
     /**
340 340
      * Abstraction of call_user_func_array
341 341
      *
342
-     * @param $class
342
+     * @param AbstractViewHelper $class
343 343
      * @param $arguments
344 344
      *
345 345
      * @return mixed
Please login to merge, or discard this patch.
src/View/Helper/RenderView.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
             $subview->setTemplatePath($this->view->getTemplatePath());
34 34
         }
35 35
 
36
-        $subview->setTemplate( $template );
37
-        $subview->setVariables( $variables );
36
+        $subview->setTemplate($template);
37
+        $subview->setVariables($variables);
38 38
         return $subview->render();
39 39
     }
40 40
 
Please login to merge, or discard this patch.
src/View/Helper/RenderBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function __invoke(string $block, string $defaultValue = '')
24 24
     {
25
-        if($this->view->getVariable($block) === '') {
25
+        if ($this->view->getVariable($block) === '') {
26 26
             return $defaultValue;
27 27
         }
28 28
         return trim($this->view->getVariable($block));
Please login to merge, or discard this patch.