We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84da574 commit ef54898Copy full SHA for ef54898
src/tools/BodyParserHandler.php
@@ -29,7 +29,8 @@ public static function register(string $bodyParserClass)
29
$parser = new $bodyParserClass();
30
static::$parsers[] = $parser;
31
foreach ($parser->getSupportedTypes() as $type) {
32
- static::$typesIndex[$type] = strtolower($parser);
+ $type = strtolower($type);
33
+ static::$typesIndex[$type] = $parser;
34
}
35
36
0 commit comments