From 3a784d87e82da8bb906607abede5f08f288e85e0 Mon Sep 17 00:00:00 2001 From: Ash Allen Date: Thu, 14 Sep 2023 12:17:06 +0100 Subject: [PATCH] Use older "choice" method so the package can support Laravel 9. --- src/Console/Commands/MakeConnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/MakeConnector.php b/src/Console/Commands/MakeConnector.php index 1d58534..9e84a59 100644 --- a/src/Console/Commands/MakeConnector.php +++ b/src/Console/Commands/MakeConnector.php @@ -66,7 +66,7 @@ protected function afterPromptingForMissingArguments(InputInterface $input, Outp return; } - $type = select('Should the connector support OAuth?', [ + $type = $this->choice('Should the connector support OAuth?', [ true => 'Yes', false => 'No', ]);