Skip to content

Commit

Permalink
Use a more generic type since the key does not have to be an int
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Ben87 committed Aug 18, 2024
1 parent 404e3ec commit b4adb15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Evaluator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public static function evaluate(mixed $value, EvaluatorBuilder $builder = new Ev
}

/**
* @param list<mixed> $values
* @param array<mixed> $values
*
* @return list<mixed>
* @return array<mixed>
*/
public static function evaluateMany(array $values, EvaluatorBuilder $builder = new EvaluatorBuilder()): array
{
Expand Down

0 comments on commit b4adb15

Please sign in to comment.