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 8624af2 commit 5540b49Copy full SHA for 5540b49
PhpCollective/Sniffs/Commenting/TypeHintSniff.php
@@ -118,8 +118,6 @@ public function process(File $phpcsFile, $stackPtr): void
118
$tagComment = $phpcsFile->fixer->getTokenContent($tag + 2);
119
$valueNode = static::getValueNode($tokens[$tag]['content'], $tagComment);
120
121
-
122
123
if ($valueNode instanceof InvalidTagValueNode || $valueNode instanceof TypelessParamTagValueNode) {
124
if (!isset($valueNode->type)) {
125
$phpcsFile->addWarning('%s type hint is missing', $tag, 'MissingParamType', [$tokens[$tag]['content']]);
0 commit comments