diff --git a/src/Command/MakeCommand.php b/src/Command/MakeCommand.php index 1352b00..b1e372e 100644 --- a/src/Command/MakeCommand.php +++ b/src/Command/MakeCommand.php @@ -35,7 +35,7 @@ public function __invoke(Route $route, AdapterInterface $console) $matches = $route->getMatches(); if(!$matches['path']){ - $path = 'data/database/migrations'; + $matches['path'] = 'data/database/migrations'; } if ( ! \is_dir($matches['path'])) {