Skip to content

Commit

Permalink
update handle method in class Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
BMTmohammedtaha committed Jul 4, 2023
1 parent 70e6580 commit 845f5c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ public function getCallback(): callable|null
*
* @throws InvalidCallbackException If the callback is not set.
*
* @return ResponseInterface The response.
* @return ResponseInterface|string The response returned from controller.
*/
public function handle(): ResponseInterface
public function handle(): ResponseInterface|string
{
$this->args = array_merge($this->args, $this->request->getQueryParams());

Expand Down

0 comments on commit 845f5c0

Please sign in to comment.