Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Dec 19, 2023
1 parent 15e6832 commit a533c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/CreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
));
}

/**
Expand Down

0 comments on commit a533c02

Please sign in to comment.