1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix ReflectionClass stub

This commit is contained in:
Vincent Langlet 2022-12-18 19:07:41 +01:00
parent 8223332185
commit 9b5630bea4

View File

@ -23,7 +23,7 @@ class ReflectionClass implements Reflector {
* @psalm-pure
*/
public function getName(): string {}
/** @psalm-pure */
public function isInternal(): bool {}
@ -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
@ -621,7 +621,7 @@ class ReflectionParameter implements Reflector {
* @readonly
*/
public $name;
/** @return non-empty-string */
public function getName(): string {}