diff --git a/src/Console/MetaCommand.php b/src/Console/MetaCommand.php index 3050fb9..017690e 100644 --- a/src/Console/MetaCommand.php +++ b/src/Console/MetaCommand.php @@ -189,10 +189,12 @@ class MetaCommand extends Command protected function getExpectedArgumentSets() { return [ - 'configs' => $this->loadTemplate('configs')->pluck('name')->filter(), - 'routes' => $this->loadTemplate('routes')->pluck('name')->filter(), - 'views' => $this->loadTemplate('views')->pluck('key')->filter(), - 'translations' => $this->loadTemplate('translations')->filter()->keys(), + 'configs' => $this->loadTemplate('configs')->pluck('name')->filter()->toArray(), + 'routes' => $this->loadTemplate('routes')->pluck('name')->filter()->toArray(), + 'views' => $this->loadTemplate('views')->pluck('key')->filter()->map(function($value) { + return (string) $value; + })->toArray(), + 'translations' => $this->loadTemplate('translations')->filter()->keys()->toArray(), ]; }