diff --git a/Console/ModuleScaffoldCommand.php b/Console/ModuleScaffoldCommand.php index fa0304c..3049b42 100644 --- a/Console/ModuleScaffoldCommand.php +++ b/Console/ModuleScaffoldCommand.php @@ -59,7 +59,8 @@ public function fire() */ private function askForEntities() { - $this->entityType = $this->choice('Do you want to use Eloquent or Doctrine ?', ['Eloquent', 'Doctrine'], 0); + // $this->entityType = $this->choice('Do you want to use Eloquent or Doctrine ?', ['Eloquent','Doctrine'], 0); # this->choice broken in laravel + $this->entityType = 'Eloquent'; do { $entity = $this->ask('Enter entity name. Leaving option empty will continue script.', ''); if (!empty($entity) && $entity !== '') {