Skip to content

Commit 655525a

Browse files
committed
Fix php warning
1 parent c8b282a commit 655525a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Routing/QueryRouteEnhancer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function extractBody(Request $request) {
7171
$values = array_merge($values, JsonHelper::decodeParams($content));
7272
}
7373

74-
if (stripos($request->headers->get('content-type'), 'multipart/form-data') !== FALSE) {
74+
if (stripos($request->headers->get('content-type') ?? '', 'multipart/form-data') !== FALSE) {
7575
return $this->extractMultipart($request, $values);
7676
}
7777

0 commit comments

Comments
 (0)