@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * @internal param string $extension |
65 | 65 | */ |
66 | 66 | |
67 | - public function __construct($method, array $headers, RequestData $body, RequestData $urlData, $ip, $version, $apiKey, $endpoint, array $acceptableMIMETypes = [], $instance = null){ |
|
67 | + public function __construct($method, array $headers, RequestData $body, RequestData $urlData, $ip, $version, $apiKey, $endpoint, array $acceptableMIMETypes = [], $instance = null) { |
|
68 | 68 | $this->method = strtolower($method); |
69 | 69 | $this->headers = $headers; |
70 | 70 | $this->body = $body; |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * @return string |
89 | 89 | */ |
90 | 90 | public function getMethod() { |
91 | - return $this->method . ($this->instance ? '' : 'All'); |
|
91 | + return $this->method.($this->instance ? '' : 'All'); |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * @return BodyParser |
9 | 9 | */ |
10 | 10 | public function create(string $contentType): BodyParser { |
11 | - switch($contentType) { |
|
11 | + switch ($contentType) { |
|
12 | 12 | case 'application/x-www-form-urlencoded': |
13 | 13 | default: |
14 | 14 | return new URLEncodedBodyParser(); |