Skip to content

Commit 00b3b1b

Browse files
committed
refactor: returns null on DebugToolbar and HoneyPot
1 parent 6538738 commit 00b3b1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/Filters/DebugToolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public function after(RequestInterface $request, ResponseInterface $response, $a
4343
{
4444
service('toolbar')->prepare($request, $response);
4545

46-
return $response;
46+
return null;
4747
}
4848
}

system/Filters/Honeypot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ public function after(RequestInterface $request, ResponseInterface $response, $a
5555
{
5656
service('honeypot')->attachHoneypot($response);
5757

58-
return $response;
58+
return null;
5959
}
6060
}

0 commit comments

Comments
 (0)