Skip to content

Commit 922564f

Browse files
committed
Add test for union properties
1 parent 843b4d6 commit 922564f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/VariableAnalysisSniff/fixtures/ClassWithMembersFixture.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,6 @@ public function __construct(
230230
public readonly \App\Models\Blog $blog,
231231
private \App\Models\Game $game,
232232
protected ?\App\Models\Flag $flag,
233+
protected true|false|int|string|null|\App\Models\Favorite $favorite,
233234
) {}
234235
}

0 commit comments

Comments
 (0)