@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function hydrate($object, $source, DocumentHydrator $hydrator) |
24 | 24 | { |
25 | - if (! $object instanceof AbstractDocument) { |
|
25 | + if (!$object instanceof AbstractDocument) { |
|
26 | 26 | throw new InvalidDocumentException(sprintf( |
27 | 27 | 'Only top-level of document can contains "jsonapi"-object. Instance of "%s" given.', |
28 | 28 | get_class($object) |