Completed
Push — master ( f73d1f...074ccd )
by Cody
09:02
created
src/Commands/SetupCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,19 +54,19 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function handle()
56 56
     {
57
-        if (! $this->token) {
57
+        if (!$this->token) {
58 58
             $this->error('You must paste your Discord token (App Bot User token) into your `services.php` config file.');
59 59
             $this->error('View the README for more info: https://github.com/laravel-notification-channels/discord#installation');
60 60
 
61 61
             return -1;
62 62
         }
63 63
 
64
-        if (! $this->confirm('Is the bot already added to your server?')) {
64
+        if (!$this->confirm('Is the bot already added to your server?')) {
65 65
             $clientId = $this->ask('What is your Discord app client ID?');
66 66
 
67 67
             $this->warn('Add the bot to your server by visiting this link: https://discordapp.com/oauth2/authorize?&client_id='.$clientId.'&scope=bot&permissions=0');
68 68
 
69
-            if (! $this->confirm('Continue?', true)) {
69
+            if (!$this->confirm('Continue?', true)) {
70 70
                 return -1;
71 71
             }
72 72
         }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         $response = $client->receive();
102 102
         $identified = Arr::get(json_decode($response, true), 'op') === 10;
103 103
 
104
-        if (! $identified) {
104
+        if (!$identified) {
105 105
             $this->error("Discord responded with an error while trying to identify the bot: $response");
106 106
 
107 107
             return -1;
Please login to merge, or discard this patch.