Skip to content

Commit

Permalink
Merge branch '5.x' into ref/better-return-type
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 authored Dec 20, 2023
2 parents 21457a8 + 02ed872 commit 325b01e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function searchOne(null|string|array $type, array $body, ?string $indexRe
/**
* @param mixed[] $headers
*/
public function httpException(int $statusCode, ?string $message = '', array $headers = [], ?int $code = 0): never
public function httpException(int $statusCode, string $message = '', array $headers = [], int $code = 0): never
{
throw new HttpException($statusCode, $message, null, $headers, $code);
}
Expand Down

0 comments on commit 325b01e

Please sign in to comment.