Passed
Push — master ( 795d76...507065 )
by Reza
04:16
created
src/Commands/DeleteAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     {
19 19
         $user = $this->argument('user');
20 20
 
21
-        if($this->askResult($user)){
21
+        if ($this->askResult($user)) {
22 22
             UserProviderFacade::deleteAdmin($user);
23 23
             $this->info('Admin was removed successfully');
24 24
             return;
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     public function askResult($user)
31 31
     {
32
-        if($this->option('force')) {
32
+        if ($this->option('force')) {
33 33
             return true;
34 34
         }
35 35
         $result = $this->confirm("Do you want to remove {$user} from administration", 'yes');
Please login to merge, or discard this patch.