diff vendor/symfony/http-foundation/ExpressionRequestMatcher.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
line wrap: on
line diff
--- a/vendor/symfony/http-foundation/ExpressionRequestMatcher.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/http-foundation/ExpressionRequestMatcher.php	Thu Feb 28 13:21:36 2019 +0000
@@ -35,13 +35,13 @@
             throw new \LogicException('Unable to match the request as the expression language is not available.');
         }
 
-        return $this->language->evaluate($this->expression, array(
+        return $this->language->evaluate($this->expression, [
             'request' => $request,
             'method' => $request->getMethod(),
             'path' => rawurldecode($request->getPathInfo()),
             'host' => $request->getHost(),
             'ip' => $request->getClientIp(),
             'attributes' => $request->attributes->all(),
-        )) && parent::matches($request);
+        ]) && parent::matches($request);
     }
 }