Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywaguet authored and scheb committed Jan 26, 2023
1 parent 54ba162 commit 82a97a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle/Security/Http/Utils/JsonRequestUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class JsonRequestUtils

public static function isJsonRequest(Request $request): bool
{
return str_contains((string) (method_exists(Request::class, 'getContentTypeFormat') ? $request->getContentTypeFormat() : $request->getContentType()), 'json');
return str_contains((string) (method_exists(Request::class, 'getContentTypeFormat') ? $request->getContentTypeFormat() : $request->getContentType()), 'json');
}

/**
Expand Down

0 comments on commit 82a97a7

Please sign in to comment.