mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/13361] Add tests
PHPBB3-13361
This commit is contained in:
@@ -13,10 +13,12 @@
|
||||
|
||||
namespace phpbb\exception;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
|
||||
|
||||
/**
|
||||
* Class http_exception
|
||||
*/
|
||||
class http_exception extends exception implements exception_interface
|
||||
class http_exception extends exception implements HttpExceptionInterface
|
||||
{
|
||||
/**
|
||||
* Http status code.
|
||||
@@ -47,7 +49,7 @@ class http_exception extends exception implements exception_interface
|
||||
$this->status_code = $status_code;
|
||||
$this->headers = $headers;
|
||||
|
||||
parent::__construct($message, $code, $previous);
|
||||
parent::__construct($message, $parameters, $previous, $code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user