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:
parent
8223332185
commit
9b5630bea4
@ -23,7 +23,7 @@ class ReflectionClass implements Reflector {
|
|||||||
* @psalm-pure
|
* @psalm-pure
|
||||||
*/
|
*/
|
||||||
public function getName(): string {}
|
public function getName(): string {}
|
||||||
|
|
||||||
/** @psalm-pure */
|
/** @psalm-pure */
|
||||||
public function isInternal(): bool {}
|
public function isInternal(): bool {}
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ class ReflectionClass implements Reflector {
|
|||||||
* @psalm-pure
|
* @psalm-pure
|
||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
*/
|
*/
|
||||||
public function getProperty(): ReflectionProperty {}
|
public function getProperty(string $name): ReflectionProperty {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int-mask-of<ReflectionProperty::IS_*>|null $filter
|
* @param int-mask-of<ReflectionProperty::IS_*>|null $filter
|
||||||
@ -621,7 +621,7 @@ class ReflectionParameter implements Reflector {
|
|||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
public $name;
|
public $name;
|
||||||
|
|
||||||
/** @return non-empty-string */
|
/** @return non-empty-string */
|
||||||
public function getName(): string {}
|
public function getName(): string {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user