Skip to content

Commit

Permalink
Update HttpException.php #2788
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jan 26, 2024
1 parent 52921f3 commit 1a4074c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kernel/Exceptions/HttpException.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class HttpException extends Exception
* @param null $formattedResponse
* @param int|null $code
*/
public function __construct($message, ResponseInterface $response = null, $formattedResponse = null, $code = null)
public function __construct($message, ResponseInterface $response = null, $formattedResponse = null, $code = 0)
{
parent::__construct($message, $code);

Expand Down

0 comments on commit 1a4074c

Please sign in to comment.