diff --git a/tests/src/Type/data/bug-857.php b/tests/src/Type/data/bug-857.php index a386a2a1..43d48c89 100644 --- a/tests/src/Type/data/bug-857.php +++ b/tests/src/Type/data/bug-857.php @@ -14,7 +14,7 @@ function mixed_function(): mixed {} // If the type is narrowed before '::assertAll()', it shouldn't change it. $array = mixed_function(); -assertType('mixed~null', $array); +assertType('mixed', $array); \assert(Inspector::assertAllArrays($array)); assertType('iterable', $array); \assert(Inspector::assertAll(fn (array $i): bool => TRUE, $array));