Passed
Push — master ( 5ebdc1...038fc1 )
by Gabriel
15:21
created
src/Traits/CanRenderTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function loadWithFallback($view, $fallback, $variables = [], $return = false)
45 45
     {
46 46
         $view = $this->existPath($view) ? $view : $fallback;
47
-        return $this->load( $view, $variables, $return);
47
+        return $this->load($view, $variables, $return);
48 48
     }
49 49
 
50 50
     /** @noinspection PhpInconsistentReturnPointsInspection
Please login to merge, or discard this patch.
src/ViewFinder/ViewFinder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,15 +123,15 @@  discard block
 block discarded – undo
123 123
      */
124 124
     protected function findInPaths($name, $paths)
125 125
     {
126
-        foreach ((array)$paths as $path) {
126
+        foreach ((array) $paths as $path) {
127 127
             $file = $this->getViewFilename($name);
128
-            $viewPath = $path . '/' . $file;
128
+            $viewPath = $path.'/'.$file;
129 129
             if (file_exists($viewPath)) {
130 130
                 return $viewPath;
131 131
             }
132 132
         }
133 133
         throw new InvalidArgumentException(
134
-            'View [' . $name . '] not found in paths [' . implode(', ', $paths) . '].'
134
+            'View ['.$name.'] not found in paths ['.implode(', ', $paths).'].'
135 135
         );
136 136
     }
137 137
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     protected function getViewFilename($name)
145 145
     {
146
-        return $name . '.php';
146
+        return $name.'.php';
147 147
     }
148 148
 
149 149
     /**
Please login to merge, or discard this patch.