@@ -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 | } |
@@ -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 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | { |
52 | 52 | $this->app->extend( |
53 | 53 | ClientInterface::class, |
54 | - static function (ClientInterface $client) { |
|
54 | + static function(ClientInterface $client) { |
|
55 | 55 | if ($baseUri = config('jsonapi.base_uri')) { |
56 | 56 | $client->setBaseUri($baseUri); |
57 | 57 | } |