We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbc8ee9 commit 468b6d2Copy full SHA for 468b6d2
1 file changed
tests/PHPStan/Reflection/data/unionTypes.php
@@ -80,9 +80,9 @@ public function doLorem(): array|false
80
81
public function doIpsum(int|string|null $nullable): void
82
{
83
- assertType('int|null|string', $nullable);
84
- assertNativeType('int|null|string', $nullable);
85
- assertType('int|null|string', $this->doDolor());
+ assertType('int|string|null', $nullable);
+ assertNativeType('int|string|null', $nullable);
+ assertType('int|string|null', $this->doDolor());
86
}
87
88
public function doDolor(): int|string|null
0 commit comments