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 e745b79 commit db8a714Copy full SHA for db8a714
tests/PHPStan/Reflection/ClassReflectionTest.php
@@ -296,7 +296,7 @@ public function testEnumIsFinal(): void
296
$reflectionProvider = $this->createReflectionProvider();
297
$enum = $reflectionProvider->getClass('PHPStan\Fixture\TestEnum');
298
$this->assertTrue($enum->isEnum());
299
- $this->assertInstanceOf('ReflectionEnum', $enum->getNativeReflection());
+ $this->assertInstanceOf('ReflectionEnum', $enum->getNativeReflection()); // @phpstan-ignore method.alreadyNarrowedType
300
$this->assertTrue($enum->isFinal());
301
$this->assertTrue($enum->isFinalByKeyword());
302
}
0 commit comments