Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-kernel/Exception/HttpException.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
19 class HttpException extends \RuntimeException implements HttpExceptionInterface | 19 class HttpException extends \RuntimeException implements HttpExceptionInterface |
20 { | 20 { |
21 private $statusCode; | 21 private $statusCode; |
22 private $headers; | 22 private $headers; |
23 | 23 |
24 public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = array(), $code = 0) | 24 public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = [], $code = 0) |
25 { | 25 { |
26 $this->statusCode = $statusCode; | 26 $this->statusCode = $statusCode; |
27 $this->headers = $headers; | 27 $this->headers = $headers; |
28 | 28 |
29 parent::__construct($message, $code, $previous); | 29 parent::__construct($message, $code, $previous); |