◆ docOptionalArgNullable()
PassedExamples::docOptionalArgNullable |
( |
| $foo, |
|
|
?MyClass | $x ) |
We allow this per T218816.
- Parameters
-
string | $foo | |
MyClass | null | $x | |
◆ genericNullable()
PassedExamples::genericNullable |
( |
?MyClass | $x, |
|
|
| $foo ) |
◆ nullableAfterRequired()
PassedExamples::nullableAfterRequired |
( |
| $foo, |
|
|
MyClass | $x = null ) |
- Parameters
-
string | $foo | |
MyClass | null | $x | |
◆ nullableOnly()
PassedExamples::nullableOnly |
( |
MyClass | $x = null | ) |
|
◆ nullableWithDefault()
PassedExamples::nullableWithDefault |
( |
?MyClass | $x = null, |
|
|
string | $foo ) |
The documentation for this class was generated from the following file:
- MediaWiki/Tests/files/Usage/nullable_type.php