Skip to content

Commit

Permalink
add generic typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Jan 12, 2024
1 parent 365b344 commit f8438b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Meta/Reflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static function metaProperties(mixed $enum): array
return $metaProperties;
}

/** @param ReflectionClass<object> $reflection */
protected static function parseMetaProperties(ReflectionClass $reflection): array
{
// Only the `Meta` attribute
Expand Down

0 comments on commit f8438b0

Please sign in to comment.