1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix ReflectionClass stub

This commit is contained in:
Jaroslav Hanslík 2023-01-03 23:55:59 +01:00
parent e527c68706
commit 65cf669bff
No known key found for this signature in database
GPG Key ID: B87C715C3401EB66

View File

@ -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