diff options
author | Tristan Darricau <github@nicofuma.fr> | 2015-01-10 18:15:19 +0100 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2015-01-11 11:28:45 +0100 |
commit | 1f4bb2c1495e8d2641abe9606f14281e810feee4 (patch) | |
tree | 71c491200fb0c3cfe5f42334093387491c16053e /phpBB/phpbb/exception | |
parent | 74e8f9bd4e6c55dddb473e1a301d2cae9edb6e50 (diff) | |
download | forums-1f4bb2c1495e8d2641abe9606f14281e810feee4.tar forums-1f4bb2c1495e8d2641abe9606f14281e810feee4.tar.gz forums-1f4bb2c1495e8d2641abe9606f14281e810feee4.tar.bz2 forums-1f4bb2c1495e8d2641abe9606f14281e810feee4.tar.xz forums-1f4bb2c1495e8d2641abe9606f14281e810feee4.zip |
[ticket/13361] Add tests
PHPBB3-13361
Diffstat (limited to 'phpBB/phpbb/exception')
-rw-r--r-- | phpBB/phpbb/exception/http_exception.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/phpbb/exception/http_exception.php b/phpBB/phpbb/exception/http_exception.php index 57604d49d4..f733462a05 100644 --- a/phpBB/phpbb/exception/http_exception.php +++ b/phpBB/phpbb/exception/http_exception.php @@ -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); } /** |