mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 10:33:11 +00:00
map to string
This commit is contained in:
@@ -189,10 +189,12 @@ class MetaCommand extends Command
|
|||||||
protected function getExpectedArgumentSets()
|
protected function getExpectedArgumentSets()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'configs' => $this->loadTemplate('configs')->pluck('name')->filter(),
|
'configs' => $this->loadTemplate('configs')->pluck('name')->filter()->toArray(),
|
||||||
'routes' => $this->loadTemplate('routes')->pluck('name')->filter(),
|
'routes' => $this->loadTemplate('routes')->pluck('name')->filter()->toArray(),
|
||||||
'views' => $this->loadTemplate('views')->pluck('key')->filter(),
|
'views' => $this->loadTemplate('views')->pluck('key')->filter()->map(function($value) {
|
||||||
'translations' => $this->loadTemplate('translations')->filter()->keys(),
|
return (string) $value;
|
||||||
|
})->toArray(),
|
||||||
|
'translations' => $this->loadTemplate('translations')->filter()->keys()->toArray(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user