Skip to content

Commit

Permalink
Apply fixes from StyleCI (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored Oct 5, 2017
1 parent d971cc5 commit d6e067f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Console/Commands/TelegramRegisterCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ public function handle()
.$this->ask('What is the target url for the telegram bot?');

$this->info('Using '.$url);

$this->info('Pinging Telegram...');

$output = json_decode(file_get_contents($url));

if ($output->ok == true && $output->result == true) {
$this->info('Your bot is now set up with Telegram\'s webhook!');
}

if ($this->option('output')) {
dump($output);
}
}
}
}

0 comments on commit d6e067f

Please sign in to comment.