@@ -133,6 +133,6 @@ |
||
133 | 133 | */ |
134 | 134 | public function jsonSerialize() |
135 | 135 | { |
136 | - return (object) $this->toArray(); |
|
136 | + return (object)$this->toArray(); |
|
137 | 137 | } |
138 | 138 | } |
@@ -227,6 +227,6 @@ |
||
227 | 227 | $document['jsonapi'] = $this->getJsonapi(); |
228 | 228 | } |
229 | 229 | |
230 | - return (object) $document; |
|
230 | + return (object)$document; |
|
231 | 231 | } |
232 | 232 | } |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | public function toArray() |
113 | 113 | { |
114 | 114 | return array_map( |
115 | - static function (?Link $link) { |
|
115 | + static function(?Link $link) { |
|
116 | 116 | return $link ? $link->toArray() : null; |
117 | 117 | }, |
118 | 118 | $this->links |
@@ -138,6 +138,6 @@ discard block |
||
138 | 138 | */ |
139 | 139 | public function jsonSerialize() |
140 | 140 | { |
141 | - return (object) $this->toArray(); |
|
141 | + return (object)$this->toArray(); |
|
142 | 142 | } |
143 | 143 | } |
@@ -73,6 +73,6 @@ |
||
73 | 73 | */ |
74 | 74 | public function jsonSerialize() |
75 | 75 | { |
76 | - return (object) $this->toArray(); |
|
76 | + return (object)$this->toArray(); |
|
77 | 77 | } |
78 | 78 | } |