1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 18:44:04 +00:00

Add missing types

This commit is contained in:
Mark 2024-12-29 07:43:50 +01:00
parent aef2f724ba
commit d669fa14af
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ trait InvokableCases
}
/** Return the enum's value or name when it's called ::STATICALLY(). */
public static function __callStatic($name, $args)
public static function __callStatic(string $name, array $args)
{
$cases = static::cases();

View file

@ -30,7 +30,7 @@ trait Metadata
);
}
public function __call(string $property, $arguments): mixed
public function __call(string $property, array $arguments): mixed
{
$metaProperties = Meta\Reflection::metaProperties($this);