We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43686bb commit 328c366Copy full SHA for 328c366
phpmyfaq/src/phpMyFAQ/Controller/Exception/ForbiddenException.php
@@ -19,6 +19,7 @@
19
20
namespace phpMyFAQ\Controller\Exception;
21
22
+use Symfony\Component\HttpFoundation\Response;
23
use Symfony\Component\HttpKernel\Exception\HttpException;
24
use Throwable;
25
@@ -31,7 +32,7 @@ public function __construct(
31
32
array $headers = [],
33
) {
34
parent::__construct(
- statusCode: 403,
35
+ statusCode: Response::HTTP_FORBIDDEN,
36
message: $message,
37
previous: $previous,
38
headers: $headers,
0 commit comments