@@ -41,12 +41,12 @@ |
||
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); |