1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 10:54:05 +00:00

Add typehint

This commit is contained in:
Mark 2024-12-29 07:19:16 +01:00
parent 6d6303d276
commit ca36e6dbe4
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873

View file

@ -51,6 +51,7 @@ class Reflection
/**
* Get the value of a meta property on the provided enum.
*
* @param class-string<MetaProperty> $metaProperty
* @param \Enum $enum
*/
public static function metaValue(string $metaProperty, mixed $enum): mixed