Skip to content

Commit 468b6d2

Browse files
jiripudilondrejmirtes
authored andcommitted
fix nullable union type test
1 parent dbc8ee9 commit 468b6d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/PHPStan/Reflection/data/unionTypes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ public function doLorem(): array|false
8080

8181
public function doIpsum(int|string|null $nullable): void
8282
{
83-
assertType('int|null|string', $nullable);
84-
assertNativeType('int|null|string', $nullable);
85-
assertType('int|null|string', $this->doDolor());
83+
assertType('int|string|null', $nullable);
84+
assertNativeType('int|string|null', $nullable);
85+
assertType('int|string|null', $this->doDolor());
8686
}
8787

8888
public function doDolor(): int|string|null

0 commit comments

Comments
 (0)