@@ -28,9 +28,9 @@ |
||
28 | 28 | self::assertInstanceOf(LogicException::class, $exception); |
29 | 29 | self::assertInstanceOf(ExceptionInterface::class, $exception); |
30 | 30 | |
31 | - $expected = 'The given object ' . get_class($object) |
|
32 | - . '#' . spl_object_hash($object) . " is not designed to allow any undefined or inaccessible properties to be written to.\n\n" |
|
33 | - . 'You tried to write to a property called "propertyName".' . "\n\n" |
|
31 | + $expected = 'The given object '.get_class($object) |
|
32 | + . '#'.spl_object_hash($object)." is not designed to allow any undefined or inaccessible properties to be written to.\n\n" |
|
33 | + . 'You tried to write to a property called "propertyName".'."\n\n" |
|
34 | 34 | . 'Perhaps you made a typo in the property name, or tried to write to an inaccessible property?'; |
35 | 35 | |
36 | 36 | self::assertSame($expected, $exception->getMessage()); |
@@ -28,9 +28,9 @@ |
||
28 | 28 | self::assertInstanceOf(LogicException::class, $exception); |
29 | 29 | self::assertInstanceOf(ExceptionInterface::class, $exception); |
30 | 30 | |
31 | - $expected = 'The given object ' . get_class($object) |
|
32 | - . '#' . spl_object_hash($object) . " is not designed to allow any undefined or inaccessible properties to be read from.\n\n" |
|
33 | - . 'You tried to access a property called "propertyName".' . "\n\n" |
|
31 | + $expected = 'The given object '.get_class($object) |
|
32 | + . '#'.spl_object_hash($object)." is not designed to allow any undefined or inaccessible properties to be read from.\n\n" |
|
33 | + . 'You tried to access a property called "propertyName".'."\n\n" |
|
34 | 34 | . 'Perhaps you made a typo in the property name, or tried to access an inaccessible property?'; |
35 | 35 | |
36 | 36 | self::assertSame($expected, $exception->getMessage()); |