Skip to content

Commit 845f5c0

Browse files
update handle method in class Controller
1 parent 70e6580 commit 845f5c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ public function getCallback(): callable|null
146146
*
147147
* @throws InvalidCallbackException If the callback is not set.
148148
*
149-
* @return ResponseInterface The response.
149+
* @return ResponseInterface|string The response returned from controller.
150150
*/
151-
public function handle(): ResponseInterface
151+
public function handle(): ResponseInterface|string
152152
{
153153
$this->args = array_merge($this->args, $this->request->getQueryParams());
154154

0 commit comments

Comments
 (0)