Skip to content

Commit

Permalink
Merge pull request #9055 from kukulich/patch-7
Browse files Browse the repository at this point in the history
Fix `ReflectionClass` stub
  • Loading branch information
orklah committed Jan 3, 2023
2 parents e527c68 + 65cf669 commit 9d2179f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions stubs/Reflection.phpstub
Expand Up @@ -67,8 +67,6 @@ class ReflectionClass implements Reflector {
public function hasMethod(string $name): bool {}

/**
* @param non-empty-string $name
*
* @psalm-pure
* @throws ReflectionException
*/
Expand All @@ -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
*/
Expand All @@ -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
Expand All @@ -122,7 +113,6 @@ class ReflectionClass implements Reflector {
public function getConstant(string $name) {}

/**
* @param non-empty-string $name
* @return ReflectionClassConstant|false
*
* @psalm-pure
Expand Down

0 comments on commit 9d2179f

Please sign in to comment.