File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class FailureTest extends TestCase
1313 public function testAsProperties (): void
1414 {
1515 $ this ->expectException (TypeError::class);
16- $ this ->expectExceptionMessage ('must be of type callable |array, int given ' );
16+ $ this ->expectExceptionMessage ('must be of type Closure |array, int given ' );
1717
1818 $ this ->benchmark ()->compare (123 );
1919 }
@@ -32,7 +32,7 @@ public function testAsArray(): void
3232 public function testAsPropertiesWithIterations (): void
3333 {
3434 $ this ->expectException (TypeError::class);
35- $ this ->expectExceptionMessage ('must be of type callable |array, int given ' );
35+ $ this ->expectExceptionMessage ('must be of type Closure |array, int given ' );
3636
3737 $ this ->benchmark ()->iterations (5 )->compare (123 );
3838 }
@@ -51,7 +51,7 @@ public function testAsArrayWithIterations(): void
5151 public function testAsPropertiesWithoutData (): void
5252 {
5353 $ this ->expectException (TypeError::class);
54- $ this ->expectExceptionMessage ('must be of type callable |array, int given ' );
54+ $ this ->expectExceptionMessage ('must be of type Closure |array, int given ' );
5555
5656 $ this ->benchmark ()->compare (123 );
5757 }
You can’t perform that action at this time.
0 commit comments