mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 14:14:05 +00:00
Add missing types
This commit is contained in:
parent
aef2f724ba
commit
d669fa14af
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue