Passed
Push — master ( 71a3af...64594b )
by Michael
02:24
created
src/Hydrator/Extension/IncludedExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function hydrate($object, $source, DocumentHydrator $hydrator)
22 22
     {
23
-        if (! $object instanceof IncludedResourcesAwareInterface) {
23
+        if (!$object instanceof IncludedResourcesAwareInterface) {
24 24
             throw new InvalidDocumentException(sprintf(
25 25
                 'Given instance of "%s" does not implements "%s"',
26 26
                 get_class($object),
Please login to merge, or discard this patch.
src/Hydrator/DocumentHydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function hydrate($source): AbstractDocument
51 51
     {
52
-        if (! isset($source->data)) {
52
+        if (!isset($source->data)) {
53 53
             return $this->processNoDataDocument($source);
54 54
         }
55 55
 
@@ -139,11 +139,11 @@  discard block
 block discarded – undo
139 139
      */
140 140
     public function hydrateResource($source): ResourceObject
141 141
     {
142
-        if (! isset($source->id)) {
142
+        if (!isset($source->id)) {
143 143
             throw new InvalidDocumentException('Resource contains no ID');
144 144
         }
145 145
 
146
-        if (! isset($source->type)) {
146
+        if (!isset($source->type)) {
147 147
             throw new InvalidDocumentException('Resource contains no type');
148 148
         }
149 149
 
Please login to merge, or discard this patch.