Skip to content

Commit 9b16a94

Browse files
committed
AC-6437:Ensure PHP8.1 support after 7.4 removal - Added support for ReflectionIntersection and ReflectionUnion Type variables
1 parent 60dee90 commit 9b16a94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ class ClassPropertyPHPDocFormattingSniff extends AbstractVariableSniff
2929
T_NS_SEPARATOR,
3030
T_STRING,
3131
T_COMMENT,
32-
T_NULLABLE
32+
T_NULLABLE,
33+
T_BITWISE_AND,
34+
T_TYPE_UNION,
3335
];
3436

3537
/**

0 commit comments

Comments
 (0)