mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 22:34:04 +00:00
Add typehint
This commit is contained in:
parent
6d6303d276
commit
ca36e6dbe4
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ class Reflection
|
||||||
/**
|
/**
|
||||||
* Get the value of a meta property on the provided enum.
|
* Get the value of a meta property on the provided enum.
|
||||||
*
|
*
|
||||||
|
* @param class-string<MetaProperty> $metaProperty
|
||||||
* @param \Enum $enum
|
* @param \Enum $enum
|
||||||
*/
|
*/
|
||||||
public static function metaValue(string $metaProperty, mixed $enum): mixed
|
public static function metaValue(string $metaProperty, mixed $enum): mixed
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue