We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c5c0f3 commit 96f00e7Copy full SHA for 96f00e7
Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php
@@ -60,7 +60,7 @@ public function processMemberVar(File $phpcsFile, $stackPtr)
60
61
if ($commentEnd !== false && $tokens[$commentEnd]['code'] === T_STRING) {
62
$commentEnd = $phpcsFile->findPrevious($this->ignoreTokens, ($commentEnd - 1), null, true);
63
- } else if ($commentEnd === false
+ } elseif ($commentEnd === false
64
|| ($tokens[$commentEnd]['code'] !== T_DOC_COMMENT_CLOSE_TAG
65
&& $tokens[$commentEnd]['code'] !== T_COMMENT)
66
) {
0 commit comments