Skip to content

Commit

Permalink
fix: types in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ipranjal committed Oct 11, 2024
1 parent 7917343 commit 38e5fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Middleware/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class Test implements MiddlewareInterface
{
#[\Override]
public function run(\Scrawler\Http\Request $request, \Closure $next)
public function run(\Scrawler\Http\Request $request, \Closure $next): \Scrawler\Http\Response
{
$response = $next($request);
$response->setStatusCode(200);
Expand Down

0 comments on commit 38e5fba

Please sign in to comment.