From 999f1fd3a878667a00e634e7c5db69cf3f483a80 Mon Sep 17 00:00:00 2001 From: JapSeyz Date: Tue, 10 Oct 2017 12:47:21 +0300 Subject: [PATCH] Update MakeSeedCommand.php --- src/Command/MakeSeedCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/MakeSeedCommand.php b/src/Command/MakeSeedCommand.php index 2cc471b..e42f5a1 100644 --- a/src/Command/MakeSeedCommand.php +++ b/src/Command/MakeSeedCommand.php @@ -34,7 +34,7 @@ public function __invoke(Route $route, AdapterInterface $console) $matches = $route->getMatches(); if(!$matches['path']){ - $path = 'data/database/seeds'; + $matches['path'] = 'data/database/seeds'; } if ( ! \is_dir($matches['path'])) {