Completed
Push — master ( 005b00...a8a0a1 )
by John
01:59
created
src/Request/BodyParser/BodyParserFactory/RegisteredBodyParserFactory.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * @param BodyParser[] $mappings keyed by content type
19 19
      */
20 20
     public function __construct($mappings = []) {
21
-        foreach($mappings as $contentType => $bodyParser) {
21
+        foreach ($mappings as $contentType => $bodyParser) {
22 22
             $this->add($contentType, $bodyParser);
23 23
         }
24 24
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @throws UnknownContentTypeException
39 39
      */
40 40
     public function create(string $contentType): BodyParser {
41
-        if(isset($this->contentTypeToParserMap[strtolower($contentType)])){
41
+        if (isset($this->contentTypeToParserMap[strtolower($contentType)])) {
42 42
             return $this->contentTypeToParserMap[strtolower($contentType)];
43 43
         }
44 44
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @throws UnknownContentTypeException
39 39
      */
40 40
     public function create(string $contentType): BodyParser {
41
-        if(isset($this->contentTypeToParserMap[strtolower($contentType)])){
41
+        if(isset($this->contentTypeToParserMap[strtolower($contentType)])) {
42 42
             return $this->contentTypeToParserMap[strtolower($contentType)];
43 43
         }
44 44
 
Please login to merge, or discard this patch.