diff --git a/src/Commands/SmsSwitchConnectionCommand.php b/src/Commands/SmsSwitchConnectionCommand.php index ce56006..6578066 100644 --- a/src/Commands/SmsSwitchConnectionCommand.php +++ b/src/Commands/SmsSwitchConnectionCommand.php @@ -71,11 +71,7 @@ protected function getOptions(): array public function handle(): void { $connection = $this->argument('connection'); - if (\is_array($connection)) { - return; - } - - if ($connection === null) { + if (! is_string($connection)) { return; }