Skip to content

Commit

Permalink
fix incompatible method declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
rizqyhi committed Nov 20, 2023
1 parent 874fe91 commit e4ee85c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Illuminate/Foundation/Testing/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ class Client extends HttpKernelBrowser {
* Convert a BrowserKit request into a Illuminate request.
*
* @param \Symfony\Component\BrowserKit\Request $request
* @return \Illuminate\Http\Request
*/
protected function filterRequest(DomRequest $request)
{
protected function filterRequest(DomRequest $request): \Symfony\Component\HttpFoundation\Request
{
$httpRequest = Application::onRequest('create', $this->getRequestParameters($request));

$httpRequest->files->replace($this->filterFiles($httpRequest->files->all()));
Expand Down

0 comments on commit e4ee85c

Please sign in to comment.