Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ReflectionClass stub #9055

Merged
merged 1 commit into from
Jan 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 0 additions & 10 deletions stubs/Reflection.phpstub
Original file line number Diff line number Diff line change
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