@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | parse_str(implode('&', explode("\n", $body)), $fields); |
| 165 | 165 | |
| 166 | 166 | foreach ($fields as $key => $value) { |
| 167 | - if(is_array($value)) { |
|
| 167 | + if (is_array($value)) { |
|
| 168 | 168 | foreach ($value as $formKey => $formValue) { |
| 169 | 169 | $requestFields[] = sprintf('%s%s=%s', urlencode($key), urlencode('[' . $formKey . ']'), urlencode($formValue)); |
| 170 | 170 | } |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | |
| 242 | 242 | if (null === $expected) { |
| 243 | 243 | throw new \RuntimeException( |
| 244 | - "Can not convert expected to json:\n".$this->replacePlaceHolder($jsonString->getRaw()) |
|
| 244 | + "Can not convert expected to json:\n" . $this->replacePlaceHolder($jsonString->getRaw()) |
|
| 245 | 245 | ); |
| 246 | 246 | } |
| 247 | 247 | |