Test Setup Failed
Push — master ( f262d3...fc02bf )
by Php Easy Api
03:28
created
src/resta/Console/Source/Track/Track.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
         while (!feof($proc))
42 42
         {
43 43
             $result = fread($proc, 4096);
44
-            if(preg_match('@\{(.*)\}@',$result,$output)){
45
-                $outputArray = json_decode($output[0],1);
44
+            if (preg_match('@\{(.*)\}@', $result, $output)) {
45
+                $outputArray = json_decode($output[0], 1);
46 46
 
47 47
                 $outputArray['trackNumber'] = ++$number;
48 48
 
49
-                if(app()->has('track.log')){
49
+                if (app()->has('track.log')) {
50 50
 
51 51
                     $track = app()->get('track.log');
52 52
                     echo $track($outputArray);
Please login to merge, or discard this patch.