Test Setup Failed
Push — master ( 8ec8d5...496774 )
by Php Easy Api
04:34
created
src/resta/Support/TrackLogger.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
      * @param $arguments
24 24
      * @param ApplicationContracts $app
25 25
      */
26
-    public function __construct(ApplicationContracts $app,$output,$arguments)
26
+    public function __construct(ApplicationContracts $app, $output, $arguments)
27 27
     {
28 28
         parent::__construct($app);
29 29
         
30
-        if(!$this->app->runningInConsole()){
30
+        if (!$this->app->runningInConsole()) {
31 31
             exception()->runtime('Console application is missing');
32 32
         }
33 33
         
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
     
38 38
     public function handle()
39 39
     {
40
-        if($this->output['meta']['success'])
40
+        if ($this->output['meta']['success'])
41 41
         {
42 42
             echo ''.$this->output['trackNumber'].' - SUCCESS:';
43 43
             echo PHP_EOL;
44 44
             echo 'Request Success : true';
45 45
         }
46
-        else{
46
+        else {
47 47
 
48 48
             echo ''.$this->output['trackNumber'].' - ERROR:';
49 49
             echo PHP_EOL;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
             echo ''.$this->output['trackNumber'].' - SUCCESS:';
43 43
             echo PHP_EOL;
44 44
             echo 'Request Success : true';
45
-        }
46
-        else{
45
+        } else{
47 46
 
48 47
             echo ''.$this->output['trackNumber'].' - ERROR:';
49 48
             echo PHP_EOL;
Please login to merge, or discard this patch.