Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 288953a

Browse files
committed
Merge pull request #944 from WouterJ/patch-1
Fixed InputOption modes
2 parents 53a5a48 + d7b917a commit 288953a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ protected function configure()
7474
'Flag to define if generator should only update entity if it exists.', true
7575
),
7676
new InputOption(
77-
'extend', null, InputOption::VALUE_OPTIONAL,
77+
'extend', null, InputOption::VALUE_REQUIRED,
7878
'Defines a base class to be extended by generated entity classes.'
7979
),
8080
new InputOption(
81-
'num-spaces', null, InputOption::VALUE_OPTIONAL,
81+
'num-spaces', null, InputOption::VALUE_REQUIRED,
8282
'Defines the number of indentation spaces', 4
8383
),
8484
new InputOption(

0 commit comments

Comments
 (0)