File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class BakeSeedCommand extends SimpleBakeCommand
4040 /**
4141 * Arguments
4242 */
43- protected ? Arguments $ args = null ;
43+ protected Arguments $ args ;
4444
4545 /**
4646 * @inheritDoc
@@ -84,7 +84,7 @@ public function getPath(Arguments $args): string
8484 */
8585 public function template (): string
8686 {
87- $ style = $ this ->args ? ->getOption('style ' ) ?? Configure::read ('Migrations.style ' , 'traditional ' );
87+ $ style = $ this ->args ->getOption ('style ' ) ?? Configure::read ('Migrations.style ' , 'traditional ' );
8888 if ($ style === 'anonymous ' ) {
8989 return 'Migrations.Seed/seed-anonymous ' ;
9090 }
Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ abstract class BakeSimpleMigrationCommand extends SimpleBakeCommand
5050 /**
5151 * Console IO
5252 */
53- protected ? ConsoleIo $ io = null ;
53+ protected ConsoleIo $ io ;
5454
5555 /**
5656 * Arguments
5757 */
58- protected ? Arguments $ args = null ;
58+ protected Arguments $ args ;
5959
6060 /**
6161 * @inheritDoc
You can’t perform that action at this time.
0 commit comments