@@ -365,12 +365,12 @@ public function testRouteParamsWithRawValuesAndEnumValues(): void
365365 self ::assertSame (['name ' => 'foo_route ' , 'params ' => ['foo ' => 'case3 ' ]], (array ) $ routes [5 ]);
366366 }
367367
368- #[TestWith([null , 'Expected return value of "if" expression (obj.val) to be boolean, got null. ' ])]
369- #[TestWith([1 , 'Expected return value of "if" expression (obj.val) to be boolean, got int. ' ])]
370- #[TestWith([0.0 , 'Expected return value of "if" expression (obj.val) to be boolean, got float. ' ])]
371- #[TestWith(['false ' , 'Expected return value of "if" expression (obj.val) to be boolean, got string. ' ])]
372- #[TestWith([[true ], 'Expected return value of "if" expression (obj.val) to be boolean, got array. ' ])]
373- #[TestWith([new \stdClass (), 'Expected return value of "if" expression (obj.val) to be boolean, got stdClass. ' ])]
368+ #[TestWith([null , 'Expected the return value of "if" expression (obj.val) for route "foo_route" to be boolean, got null. ' ])]
369+ #[TestWith([1 , 'Expected the return value of "if" expression (obj.val) for route "foo_route" to be boolean, got int. ' ])]
370+ #[TestWith([0.0 , 'Expected the return value of "if" expression (obj.val) for route "foo_route" to be boolean, got float. ' ])]
371+ #[TestWith(['false ' , 'Expected the return value of "if" expression (obj.val) for route "foo_route" to be boolean, got string. ' ])]
372+ #[TestWith([[true ], 'Expected the return value of "if" expression (obj.val) for route "foo_route" to be boolean, got array. ' ])]
373+ #[TestWith([new \stdClass (), 'Expected the return value of "if" expression (obj.val) for route "foo_route" to be boolean, got stdClass. ' ])]
374374 public function testExceptionIsThrownOnInvalidIfReturnType (mixed $ ifResult , string $ expectedMessage ): void
375375 {
376376 $ configurationLoader = $ this ->createMock (ConfigurationLoaderInterface::class);
0 commit comments