|
static | getSomething (array $reqs, $class, $allowSubclasses=false) |
| @template T @phan-template T
|
|
static | assertsTests ( $a, $t, $f, $data) |
| @phan-type TestData = array{name:string,case:callable}
|
|
◆ assertsTests()
static PhanTests::assertsTests |
( |
| $a, |
|
|
| $t, |
|
|
| $f, |
|
|
| $data ) |
|
static |
@phan-type TestData = array{name:string,case:callable}
- Parameters
-
MyClass | $a | |
mixed | $t | |
mixed | $f | |
array | $data | @phan-param TestData $data @phan-assert MySpecificClass $a @phan-assert-true-condition $t @phan-assert-false-condition $f |
◆ getSomething()
static PhanTests::getSomething |
( |
array | $reqs, |
|
|
| $class, |
|
|
| $allowSubclasses = false ) |
|
static |
@template T @phan-template T
- Parameters
-
AuthenticationRequest[] | $reqs | @phan-param T[] $reqs |
string | $class | Class name @phan-param class-string<T> $class |
bool | $allowSubclasses | |
- Returns
- AuthenticationRequest|null @phan-return T|null @phan-side-effect-free
The documentation for this class was generated from the following file:
- MediaWiki/Tests/files/Commenting/phan-annotations.php