Passed
Push — master ( 038fc1...11e596 )
by Gabriel
35:51 queued 20:53
created
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.