diff --git a/stubs/Reflection.phpstub b/stubs/Reflection.phpstub index bdfc5282f..0bb12352d 100644 --- a/stubs/Reflection.phpstub +++ b/stubs/Reflection.phpstub @@ -67,8 +67,6 @@ class ReflectionClass implements Reflector { public function hasMethod(string $name): bool {} /** - * @param non-empty-string $name - * * @psalm-pure * @throws ReflectionException */ @@ -82,16 +80,12 @@ class ReflectionClass implements Reflector { public function getMethods(?int $filter = null): array {} /** - * @param non-empty-string $name - * * @psalm-pure * @throws ReflectionException */ public function hasProperty(string $name): bool {} /** - * @param non-empty-string $name - * * @psalm-pure * @throws ReflectionException */ @@ -106,14 +100,11 @@ class ReflectionClass implements Reflector { public function getProperties(?int $filter = null): array {} /** - * @param non-empty-string $name - * * @psalm-pure */ public function hasConstant(string $name): bool {} /** - * @param non-empty-string $name * @return mixed * * @psalm-pure @@ -122,7 +113,6 @@ class ReflectionClass implements Reflector { public function getConstant(string $name) {} /** - * @param non-empty-string $name * @return ReflectionClassConstant|false * * @psalm-pure