@@ -90,11 +90,11 @@ discard block |
||
90 | 90 | */ |
91 | 91 | const MESSAGES = [ |
92 | 92 | self::MSG_GET_SCHEMA_FAILED_FOR_RESOURCE_AT_ROOT => |
93 | - 'Getting Schema for a top-level resource of type `%s` failed. ' . |
|
93 | + 'Getting Schema for a top-level resource of type `%s` failed. '. |
|
94 | 94 | 'Please check you have added a Schema for this type.', |
95 | 95 | |
96 | 96 | self::MSG_GET_SCHEMA_FAILED_FOR_RESOURCE_AT_PATH => |
97 | - 'Getting Schema for a resource of type `%s` at path `%s` failed. ' . |
|
97 | + 'Getting Schema for a resource of type `%s` at path `%s` failed. '. |
|
98 | 98 | 'Please check you have added a Schema for this type.', |
99 | 99 | ]; |
100 | 100 | |
@@ -339,8 +339,7 @@ discard block |
||
339 | 339 | { |
340 | 340 | ($data === null || (is_array($data) === true && empty($data) === true)) ?: Exceptions::throwLogicException(); |
341 | 341 | |
342 | - $replyType = ($data === null ? ParserReplyInterface::REPLY_TYPE_NULL_RESOURCE_STARTED : |
|
343 | - ParserReplyInterface::REPLY_TYPE_EMPTY_RESOURCE_STARTED); |
|
342 | + $replyType = ($data === null ? ParserReplyInterface::REPLY_TYPE_NULL_RESOURCE_STARTED : ParserReplyInterface::REPLY_TYPE_EMPTY_RESOURCE_STARTED); |
|
344 | 343 | |
345 | 344 | return $this->parserFactory->createEmptyReply($replyType, $this->stack); |
346 | 345 | } |