Completed
Pull Request — master (#63)
by Greg
02:02
created
src/CommandFileDiscovery.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      */
248 248
     protected function getSearchDepth()
249 249
     {
250
-        return $this->searchDepth <= 0 ? '== 0' : '<= ' . $this->searchDepth;
250
+        return $this->searchDepth <= 0 ? '== 0' : '<= '.$this->searchDepth;
251 251
     }
252 252
 
253 253
     /**
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
         return $this->joinParts(
342 342
             '\\',
343 343
             $namespaceParts,
344
-            function ($item) {
344
+            function($item) {
345 345
                 return !is_numeric($item) && !empty($item);
346 346
             }
347 347
         );
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
         return $this->joinParts(
361 361
             '/',
362 362
             $pathParts,
363
-            function ($item) {
363
+            function($item) {
364 364
                 return !empty($item);
365 365
             }
366 366
         );
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
     protected function joinParts($delimiter, $parts, $filterFunction)
377 377
     {
378 378
         $parts = array_map(
379
-            function ($item) use ($delimiter) {
379
+            function($item) use ($delimiter) {
380 380
                 return rtrim($item, $delimiter);
381 381
             },
382 382
             $parts
Please login to merge, or discard this patch.