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 9c71dd2 commit 4518aedCopy full SHA for 4518aed
Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php
@@ -75,7 +75,10 @@ public function processMemberVar(File $phpcsFile, $stackPtr)
75
// if the property has a valid type definition, we don't require a doc block
76
if (!$this->hasValidType($phpcsFile, $stackPtr)) {
77
$phpcsFile->addWarning(
78
- 'Missing PHP DocBlock for class property without valid type.', $stackPtr, 'Missing');
+ 'Missing PHP DocBlock for class property without valid type.',
79
+ $stackPtr,
80
+ 'Missing'
81
+ );
82
}
83
// no comment, so nothing further to process
84
return;
0 commit comments