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:
parent
e527c68706
commit
65cf669bff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user