Skip to content

Commit db8a714

Browse files
committed
Ignore in test
1 parent e745b79 commit db8a714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Reflection/ClassReflectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public function testEnumIsFinal(): void
296296
$reflectionProvider = $this->createReflectionProvider();
297297
$enum = $reflectionProvider->getClass('PHPStan\Fixture\TestEnum');
298298
$this->assertTrue($enum->isEnum());
299-
$this->assertInstanceOf('ReflectionEnum', $enum->getNativeReflection());
299+
$this->assertInstanceOf('ReflectionEnum', $enum->getNativeReflection()); // @phpstan-ignore method.alreadyNarrowedType
300300
$this->assertTrue($enum->isFinal());
301301
$this->assertTrue($enum->isFinalByKeyword());
302302
}

0 commit comments

Comments
 (0)