@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | public function withOptions(array $options): Body |
129 | 129 | { |
130 | 130 | $new = clone $this; |
131 | - $new->options = (object)$options; |
|
131 | + $new->options = (object) $options; |
|
132 | 132 | |
133 | 133 | return $new; |
134 | 134 | } |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | public function withAddedOptions(array $options): Body |
140 | 140 | { |
141 | 141 | $new = clone $this; |
142 | - $new->options = (object)array_merge($options, (array)$new->options); |
|
142 | + $new->options = (object) array_merge($options, (array) $new->options); |
|
143 | 143 | |
144 | 144 | return $new; |
145 | 145 | } |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | public function jsonSerialize(): array |
159 | 159 | { |
160 | 160 | return [ |
161 | - 'method' => $this->method . ($this->methodVersion !== null ? sprintf('/%s', $this->methodVersion) : ''), |
|
161 | + 'method' => $this->method.($this->methodVersion !== null ? sprintf('/%s', $this->methodVersion) : ''), |
|
162 | 162 | 'params' => [$this->arguments, $this->options], |
163 | 163 | 'id' => $this->id, |
164 | 164 | ]; |