mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Update meta file
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
<?= '<?php' ?> namespace PHPSTORM_META {
|
<?= '<?php' ?>
|
||||||
|
|
||||||
|
namespace PHPSTORM_META {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
|
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
|
||||||
@@ -7,13 +9,9 @@
|
|||||||
* @author Barry vd. Heuvel <[email protected]>
|
* @author Barry vd. Heuvel <[email protected]>
|
||||||
* @see https://github.com/barryvdh/laravel-ide-helper
|
* @see https://github.com/barryvdh/laravel-ide-helper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @noinspection PhpIllegalArrayKeyTypeInspection */
|
|
||||||
/** @noinspection PhpUnusedLocalVariableInspection */
|
|
||||||
/** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
|
|
||||||
$STATIC_METHOD_TYPES = [
|
$STATIC_METHOD_TYPES = [
|
||||||
<?php foreach($methods as $method): ?>
|
<?php foreach($methods as $method): ?>
|
||||||
<?= $method ?>('') => [
|
<?= $method ?> => [
|
||||||
<?php foreach($bindings as $abstract => $class): ?>
|
<?php foreach($bindings as $abstract => $class): ?>
|
||||||
'<?= $abstract ?>' instanceof \<?= $class ?>,
|
'<?= $abstract ?>' instanceof \<?= $class ?>,
|
||||||
<?php endforeach ?> ],
|
<?php endforeach ?> ],
|
||||||
|
|||||||
@@ -43,12 +43,10 @@ class MetaCommand extends Command {
|
|||||||
protected $view;
|
protected $view;
|
||||||
|
|
||||||
protected $methods = [
|
protected $methods = [
|
||||||
'\Illuminate\Foundation\Application::make',
|
'new \Illuminate\Contracts\Container\Container',
|
||||||
'\Illuminate\Contracts\Foundation\Application::make',
|
'\Illuminate\Contracts\Container\Container::make(\'\')',
|
||||||
'\Illuminate\Contracts\Container\Container::make',
|
'\App::make(\'\')',
|
||||||
'\Illuminate\Container\Container::make',
|
'app(\'\')',
|
||||||
'\App::make',
|
|
||||||
'app',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user