8000 Backport test fixes (#56183) · laravel/framework@5b5e52a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b5e52a

Browse files
Backport test fixes (#56183)
1 parent 372a22a commit 5b5e52a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Support/SupportArrTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ public function testWhereNotNull(): void
267267
$array = array_values(Arr::whereNotNull(['a', null, 'b', null, 'c']));
268268
$this->assertEquals(['a', 'b', 'c'], $array);
269269

270-
$array = array_values(Arr::whereNotNull([null, 1, 'string', 0.0, false, [], new stdClass(), fn () => null]));
271-
$this->assertEquals([1, 'string', 0.0, false, [], new stdClass(), fn () => null], $array);
270+
$array = array_values(Arr::whereNotNull([null, 1, 'string', 0.0, false, [], $class = new stdClass(), $function = fn () => null]));
271+
$this->assertEquals([1, 'string', 0.0, false, [], $class, $function], $array);
272272
}
273273

274274
public function testFirst()

0 commit comments

Comments
 (0)
0