Skip to content

Commit 661145b

Browse files
Add extra use cases for typed class properties
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
1 parent 4518aed commit 661145b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Magento2/Tests/Commenting/ClassPropertyPHPDocFormattingUnitTest.inc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,18 @@ class correctlyFormattedClassMemberDocBlock
195195
*/
196196
protected string $itIsCorrect;
197197

198+
198199
private string $typedPropertyWithoutComment;
200+
201+
private string $typedPropertyWithoutComment2;
202+
203+
private ?string $typedPropertyWithoutComment3;
204+
205+
private string|int $typedPropertyWithoutComment4;
206+
207+
private Test $typedPropertyWithoutComment5;
208+
209+
private Test|Test2 $typedPropertyWithoutComment6;
210+
211+
private ?Test $typedPropertyWithoutComment7;
199212
}

0 commit comments

Comments
 (0)