Completed
Push — master ( e6719d...13ae3c )
by John
01:53
created
src/Request/Request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Request/BodyParser/BasicBodyParserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.