Skip to content

Commit 889b4d2

Browse files
committed
Add test case for readonly property
1 parent 087b1a2 commit 889b4d2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Magento2/Tests/Commenting/ClassPropertyPHPDocFormattingUnitTest.inc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,14 @@ class correctlyFormattedClassMemberDocBlock
200200
* @deprecated This property will be removed in version 1.0.0 without replacement
201201
*/
202202
protected string $deprecatedWithKeyword;
203+
204+
/**
205+
* @var string
206+
*/
207+
protected readonly string $readOnlyString;
208+
209+
/**
210+
* @var int
211+
*/
212+
protected readonly int $readOnlyInteger;
203213
}

0 commit comments

Comments
 (0)