Skip to content

Commit

Permalink
Add missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
xHeaven committed Dec 29, 2024
1 parent d6975cc commit c7b463c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/InvokableCases.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __invoke()
}

/** 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();

Expand Down
2 changes: 1 addition & 1 deletion src/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static function fromMeta(MetaProperty $metaProperty): static
);
}

public function __call(string $property, $arguments): mixed
public function __call(string $property, array $arguments): mixed
{
$metaProperties = Meta\Reflection::metaProperties($this);

Expand Down

0 comments on commit c7b463c

Please sign in to comment.