forked from vimeo/psalm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstorm.meta.php
32 lines (29 loc) · 873 Bytes
/
phpstorm.meta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
namespace PHPSTORM_META {
// tests with argument offset (0)
override(\Ns\MyClass::crEate(0), map([
'' => '@',
'exception' => \Exception::class,
'object' => \stdClass::class,
]));
override(\create(0), map([
'' => '@',
'exception' => \Exception::class,
'object' => \stdClass::class,
]));
// tests without argument offset (0 by default)
override(\Ns\MyClass::crEate2(), map([
'' => '@',
'exception' => \Exception::class,
'object' => \stdClass::class,
]));
override(\create2(), map([
'' => '@',
'exception' => \Exception::class,
'object' => \stdClass::class,
]));
override(\Ns\MyClass::foO(0), type(0));
override(\Ns\MyClass::Bar(0), elementType(0));
override(\foo(0), type(0));
override(\bar(0), elementType(0));
}