Issues (2)

.phpstorm.meta.php (2 issues)

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
The method Psr\Container\ContainerInterface::get() 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 ignore-call  annotation

17
    ContainerInterface::/** @scrutinizer ignore-call */ 
18
                        get('') => [
Loading history...
18
        '' == '@',
19
    ],
20
    ServiceLocatorInterface::build('') => [
0 ignored issues
show
Bug Best Practice introduced by
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 ignore-call  annotation

20
    ServiceLocatorInterface::/** @scrutinizer ignore-call */ 
21
                             build('') => [
Loading history...
21
        '' == '@',
22
    ],
23
];
24