Skip to content

Commit 8138e93

Browse files
committed
test phpdoc readonly
1 parent ddb564c commit 8138e93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/Classes/data/bug-12281.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44

55
#[\AllowDynamicProperties]
66
readonly class BlogData { /* … */ }
7+
8+
/** @readonly */
9+
#[\AllowDynamicProperties]
10+
class BlogDataPhpdoc { /* … */ }

0 commit comments

Comments
 (0)