shlinkio /
shlink-config
| 1 | <?php |
||||||
| 2 | namespace PHPSTORM_META; |
||||||
| 3 | |||||||
| 4 | use Psr\Container\ContainerInterface; |
||||||
| 5 | use Laminas\ServiceManager\ServiceLocatorInterface; |
||||||
| 6 | |||||||
| 7 | /** |
||||||
| 8 | * PhpStorm Container Interop code completion |
||||||
| 9 | * |
||||||
| 10 | * Add code completion for container-interop. |
||||||
| 11 | * |
||||||
| 12 | * \App\ClassName::class will automatically resolve to it's own name. |
||||||
| 13 | * |
||||||
| 14 | * Custom strings like ``"cache"`` or ``"logger"`` need to be added manually. |
||||||
| 15 | */ |
||||||
| 16 | $STATIC_METHOD_TYPES = [ |
||||||
| 17 | ContainerInterface::get('') => [ |
||||||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||||||
| 18 | '' == '@', |
||||||
| 19 | ], |
||||||
| 20 | ServiceLocatorInterface::build('') => [ |
||||||
|
0 ignored issues
–
show
The method
Laminas\ServiceManager\S...catorInterface::build() is not static, but was called statically.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 21 | '' == '@', |
||||||
| 22 | ], |
||||||
| 23 | ]; |
||||||
| 24 |