Skip to content

Commit 4518aed

Browse files
Fix multi-line function formatting
1 parent 9c71dd2 commit 4518aed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ public function processMemberVar(File $phpcsFile, $stackPtr)
7575
// if the property has a valid type definition, we don't require a doc block
7676
if (!$this->hasValidType($phpcsFile, $stackPtr)) {
7777
$phpcsFile->addWarning(
78-
'Missing PHP DocBlock for class property without valid type.', $stackPtr, 'Missing');
78+
'Missing PHP DocBlock for class property without valid type.',
79+
$stackPtr,
80+
'Missing'
81+
);
7982
}
8083
// no comment, so nothing further to process
8184
return;

0 commit comments

Comments
 (0)