Skip to content

Commit b2bed47

Browse files
committed
Fix phpstan build
1 parent 5c4fc70 commit b2bed47

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PHPStan/PregMatchTypeSpecifyingExtension.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,12 @@ public function specifyTypes(MethodReflection $methodReflection, StaticCall $nod
9393
$context = $context->negate();
9494
}
9595

96-
// @phpstan-ignore function.alreadyNarrowedType, function.impossibleType
96+
// @phpstan-ignore function.alreadyNarrowedType
9797
if (method_exists('PHPStan\Analyser\SpecifiedTypes', 'setRootExpr')) {
98-
// @phpstan-ignore method.notFound
9998
$typeSpecifier = $this->typeSpecifier->create(
10099
$matchesArg->value,
101100
$matchedType,
102101
$context,
103-
// @phpstan-ignore argument.type
104102
$scope
105103
)->setRootExpr($node);
106104

0 commit comments

Comments
 (0)