Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 13, 2023
1 parent 0bb6f60 commit 400bb2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/realtime-compiler/src/Http/BaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ protected function isRequestMadeFromLocalhost(): bool
return in_array($requestIp, $allowedIps, true);
}

protected function generateCSRFToken(): string {
protected function generateCSRFToken(): string
{
if (session_status() !== PHP_SESSION_ACTIVE) {
throw new BadMethodCallException('Session not started');
}
Expand Down

0 comments on commit 400bb2d

Please sign in to comment.