diff --git a/src/Commands/CreateCommand.php b/src/Commands/CreateCommand.php index 1a44c343..1528ed01 100644 --- a/src/Commands/CreateCommand.php +++ b/src/Commands/CreateCommand.php @@ -128,11 +128,11 @@ protected function askDataBaseTableName(): void protected function askDatasource(): void { - $this->datasourceOption = select( + $this->datasourceOption = strval(select( label: 'What type of data source will you use?', options: self::DATASOURCE_OPTIONS, default: self::DATASOURCE_ELOQUENT_BUILDER - ); + )); } /**