From 7b566fc075f95f1ef94886452b6df0c03eb1ee72 Mon Sep 17 00:00:00 2001 From: Zing Date: Sun, 14 Jun 2020 14:02:53 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Commands/SmsSwitchConnectionCommand.php | 13 ++++++------- src/SmsServiceProvider.php | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/Commands/SmsSwitchConnectionCommand.php b/src/Commands/SmsSwitchConnectionCommand.php index 4f76d00..6f8337d 100644 --- a/src/Commands/SmsSwitchConnectionCommand.php +++ b/src/Commands/SmsSwitchConnectionCommand.php @@ -1,9 +1,7 @@ argument('connection'); if ($this->option('show')) { - $this->comment('SMS_CONNECTION='.$connection); + $this->comment('SMS_CONNECTION=' . $connection); return; } @@ -134,4 +133,4 @@ protected function envPath() return $this->laravel->basePath('.env'); } -} \ No newline at end of file +} diff --git a/src/SmsServiceProvider.php b/src/SmsServiceProvider.php index def01e9..ce04918 100644 --- a/src/SmsServiceProvider.php +++ b/src/SmsServiceProvider.php @@ -52,9 +52,9 @@ function (Container $app) { } ); $this->app->alias('sms', Sms::class); - $this->app->singleton('command.sms.gateway',SmsSwitchConnectionCommand::class); + $this->app->singleton('command.sms.gateway', SmsSwitchConnectionCommand::class); $this->commands([ - 'command.sms.gateway' + 'command.sms.gateway', ]); } }