Skip to content

Commit ea39639

Browse files
committed
Removed dead code
1 parent ec9a5d6 commit ea39639

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

SlevomatCodingStandard/Helpers/TypeHintHelper.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,6 @@ private static function isAlias(File $phpcsFile, int $docCommentOpenPointer, str
341341
$annotations = AnnotationHelper::getAnnotations($phpcsFile, $classDocCommentOpenPointer, $aliasAnnotationName);
342342

343343
foreach ($annotations as $aliasAnnotation) {
344-
if ($aliasAnnotation->isInvalid()) {
345-
continue;
346-
}
347-
348344
$aliasAnnotationValue = $aliasAnnotation->getValue();
349345

350346
if ($aliasAnnotationValue instanceof TypeAliasTagValueNode && $aliasAnnotationValue->alias === $typeHint) {

0 commit comments

Comments
 (0)