Completed
Push — master ( 13ae3c...7c5f13 )
by John
01:58
created
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.
src/Request/RequestFactory/GenericRequestFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $parsedData = $bodyParser->parse($data);
58 58
 
59 59
         $apiKey = $parsedURL->getAPIKey();
60
-        if($apiKey === null) {
60
+        if ($apiKey === null) {
61 61
             $apiKey = $parsedHeaders->getAPIKey();
62 62
         }
63 63
 
Please login to merge, or discard this patch.