mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
Remove duplicate config, fix ->can() (#1650)
This commit is contained in:
@@ -232,18 +232,14 @@ class MetaCommand extends Command
|
|||||||
'argumentSet' => 'auth',
|
'argumentSet' => 'auth',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'class' => ['\Illuminate\Support\Facades\Route', '\Illuminate\Support\Facades\Auth'],
|
'class' => ['\Illuminate\Support\Facades\Route', '\Illuminate\Support\Facades\Auth', 'Illuminate\Foundation\Auth\Access\Authorizable'],
|
||||||
'method' => ['can', 'cannot'],
|
'method' => ['can', 'cannot'],
|
||||||
'argumentSet' => 'auth',
|
'argumentSet' => 'auth',
|
||||||
],
|
],
|
||||||
[
|
|
||||||
'method' => 'config',
|
|
||||||
'argumentSet' => 'configs',
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
'class' => ['\Illuminate\Config\Repository', '\Illuminate\Support\Facades\Config'],
|
'class' => ['\Illuminate\Config\Repository', '\Illuminate\Support\Facades\Config'],
|
||||||
'method' => [
|
'method' => [
|
||||||
'get',
|
// 'get', // config() and Config::Get() are added with return type hints already
|
||||||
'getMany',
|
'getMany',
|
||||||
'set',
|
'set',
|
||||||
'string',
|
'string',
|
||||||
|
|||||||
Reference in New Issue
Block a user