Skip to content

Commit 2d4a799

Browse files
staabmondrejmirtes
authored andcommitted
ReflectionProvider->hasClass() narrows $className arg
1 parent 737f5a0 commit 2d4a799

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Reflection/ReflectionProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
interface ReflectionProvider
1010
{
1111

12+
/** @phpstan-assert-if-true =class-string $className */
1213
public function hasClass(string $className): bool;
1314

1415
public function getClass(string $className): ClassReflection;

0 commit comments

Comments
 (0)