Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 24, 2024
1 parent 95464c5 commit dd4ef58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Type/WebMozartAssert/data/array.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ public function countBetween(array $a, array $b, array $c, array $d): void
public function isList($a, $b): void
{
Assert::isList($a);
assertType('array<int, mixed>', $a);
assertType('list<mixed>', $a);

Assert::nullOrIsList($b);
assertType('array<int, mixed>|null', $b);
assertType('list<mixed>|null', $b);
}

public function isNonEmptyList($a, $b): void
{
Assert::isNonEmptyList($a);
assertType('non-empty-array<int, mixed>', $a);
assertType('non-empty-list<mixed>', $a);

Assert::nullOrIsNonEmptyList($b);
assertType('non-empty-array<int, mixed>|null', $b);
assertType('non-empty-list<mixed>|null', $b);
}

public function isMap($a, $b): void
Expand Down

0 comments on commit dd4ef58

Please sign in to comment.