Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/http-foundation/RedirectResponse.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children | af1871eacc83 |
line wrap: on
line diff
--- a/vendor/symfony/http-foundation/RedirectResponse.php Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/symfony/http-foundation/RedirectResponse.php Thu Feb 28 13:21:36 2019 +0000 @@ -32,7 +32,7 @@ * * @see http://tools.ietf.org/html/rfc2616#section-10.3 */ - public function __construct($url, $status = 302, $headers = array()) + public function __construct($url, $status = 302, $headers = []) { parent::__construct('', $status, $headers); @@ -56,7 +56,7 @@ * * @return static */ - public static function create($url = '', $status = 302, $headers = array()) + public static function create($url = '', $status = 302, $headers = []) { return new static($url, $status, $headers); }