Skip to content

Commit 684925e

Browse files
committed
[DX] Fix message: no return means return mixed
1 parent 0df50cf commit 684925e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/FilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testOnceWithStringFilter(): void
3737
public function testWithoutReturnTypeCallable(): void
3838
{
3939
$this->expectException(InvalidArgumentException::class);
40-
$this->expectExceptionMessage('Expected a bool return type on callable filter, null given');
40+
$this->expectExceptionMessage('Expected a bool return type on callable filter, mixed given');
4141

4242
$data = [1, 2, 3];
4343

0 commit comments

Comments
 (0)