|
@@ -30,8 +30,8 @@ |
|
|
block discarded – undo |
|
30
|
30
|
self::assertInstanceOf(LogicException::class, $exception); |
|
31
|
31
|
self::assertInstanceOf(ExceptionInterface::class, $exception); |
|
32
|
32
|
|
|
33
|
|
- $expected = 'The given object ' . get_class($object) |
|
34
|
|
- . '#' . spl_object_hash($object) . " is not designed to be stringable.\n\n" |
|
|
33
|
+ $expected = 'The given object '.get_class($object) |
|
|
34
|
+ . '#'.spl_object_hash($object)." is not designed to be stringable.\n\n" |
|
35
|
35
|
. "You tried to access a method called \"__toString()\"."; |
|
36
|
36
|
|
|
37
|
37
|
self::assertSame($expected, $exception->getMessage()); |
Please login to merge, or discard this patch.