projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
symfony
/
http-kernel
/
Exception
/
HttpException.php
diff --git
a/vendor/symfony/http-kernel/Exception/HttpException.php
b/vendor/symfony/http-kernel/Exception/HttpException.php
index 4e1b52632b10ab37a4b30f953af08f8f6c774d36..e8e37605838cc6efb93b40d1e32a209fb6f798bc 100644
(file)
--- a/
vendor/symfony/http-kernel/Exception/HttpException.php
+++ b/
vendor/symfony/http-kernel/Exception/HttpException.php
@@
-38,4
+38,14
@@
class HttpException extends \RuntimeException implements HttpExceptionInterface
{
return $this->headers;
}
+
+ /**
+ * Set response headers.
+ *
+ * @param array $headers Response headers
+ */
+ public function setHeaders(array $headers)
+ {
+ $this->headers = $headers;
+ }
}