Passed
Push — master ( 78acba...86bd24 )
by IRFA
04:02 queued 11s
created
src/Console/Commands/UnlockCommands.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,16 +41,16 @@
 block discarded – undo
41 41
     { 
42 42
         $ret = $core->unlock_account($this->argument('username'));
43 43
             $table = new Table($this->output);
44
-                $read_enc = json_decode( $ret);
45
-                if(!empty($read_enc)){
44
+                $read_enc = json_decode($ret);
45
+                if (!empty($read_enc)) {
46 46
                     $time = $read_enc->last_attemps;
47 47
                     $attemps = $read_enc->attemps;
48 48
                     $ip = $read_enc->ip;
49 49
                     $table->setRows([
50
-                            ['<fg=cyan>Login attemps',  $attemps],
51
-                            ['<fg=cyan>Last login attemps',$time],
52
-                            ['<fg=cyan>Last IP Address',empty(end($ip))? "unknown":end($ip)],
53
-                            ['<fg=cyan>Unlocked at',date('Y-m-d H:i:s', time())],
50
+                            ['<fg=cyan>Login attemps', $attemps],
51
+                            ['<fg=cyan>Last login attemps', $time],
52
+                            ['<fg=cyan>Last IP Address', empty(end($ip)) ? "unknown" : end($ip)],
53
+                            ['<fg=cyan>Unlocked at', date('Y-m-d H:i:s', time())],
54 54
                         ]);
55 55
                             $table->render();
56 56
                 }
Please login to merge, or discard this patch.