Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Aug 22, 2023
1 parent f8d0f20 commit 05278b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
*
* @throws HttpErrorException
*/
function parseForm(Request $request, int $bodySizeLimit = null): Form
function parseForm(Request $request): Form
{
static $parser;
$parser ??= new FormParser;
$parser ??= new FormParser();

return $parser->parseForm($request, $bodySizeLimit);
return $parser->parseForm($request);
}

/**
Expand Down

0 comments on commit 05278b2

Please sign in to comment.