Skip to content

Commit

Permalink
refactor: fix type in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jul 12, 2022
1 parent 5383d46 commit 50fa7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Debug/Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ public function exceptionHandler(Throwable $exception)
$this->response->setStatusCode($statusCode);
} catch (HTTPException $e) {
// Workaround for invalid HTTP status code.
$statusCoden = 500;
$this->response->setStatusCode($statusCoden);
$statusCode = 500;
$this->response->setStatusCode($statusCode);
}

if (! headers_sent()) {
Expand Down

0 comments on commit 50fa7ad

Please sign in to comment.