1 | <?php |
||||
2 | // .phpstorm.meta.php |
||||
3 | |||||
4 | namespace PHPSTORM_META { |
||||
5 | |||||
6 | override( |
||||
7 | \yii\di\Container::get(0), |
||||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
yii\di\Container::get(0) of type object is incompatible with the type callable expected by parameter $callable of PHPSTORM_META\override() .
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
8 | map([ |
||||
9 | '' => '@', |
||||
10 | ]) |
||||
11 | ); |
||||
12 | |||||
13 | override( |
||||
14 | \yii\di\Instance::ensure(0), |
||||
15 | map([ |
||||
16 | '' => '@', |
||||
17 | ]) |
||||
18 | ); |
||||
19 | |||||
20 | override( |
||||
21 | \Yii::createObject(0), |
||||
22 | map([ |
||||
23 | '' => '@', |
||||
24 | ]) |
||||
25 | ); |
||||
26 | } |
||||
27 |