Skip to content

Commit

Permalink
Merge pull request #8930 from VincentLanglet/reflectionClass
Browse files Browse the repository at this point in the history
Fix ReflectionClass stub
  • Loading branch information
orklah committed Dec 18, 2022
2 parents 8223332 + 9b5630b commit b6faa3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stubs/Reflection.phpstub
Expand Up @@ -23,7 +23,7 @@ class ReflectionClass implements Reflector {
* @psalm-pure
*/
public function getName(): string {}

/** @psalm-pure */
public function isInternal(): bool {}

Expand Down Expand Up @@ -95,7 +95,7 @@ class ReflectionClass implements Reflector {
* @psalm-pure
* @throws ReflectionException
*/
public function getProperty(): ReflectionProperty {}
public function getProperty(string $name): ReflectionProperty {}

/**
* @param int-mask-of<ReflectionProperty::IS_*>|null $filter
Expand Down Expand Up @@ -621,7 +621,7 @@ class ReflectionParameter implements Reflector {
* @readonly
*/
public $name;

/** @return non-empty-string */
public function getName(): string {}

Expand Down

0 comments on commit b6faa3e

Please sign in to comment.