summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-foundation/ExpressionRequestMatcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-foundation/ExpressionRequestMatcher.php')
-rw-r--r--vendor/symfony/http-foundation/ExpressionRequestMatcher.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/http-foundation/ExpressionRequestMatcher.php b/vendor/symfony/http-foundation/ExpressionRequestMatcher.php
index e9c8441ce3..26bed7d371 100644
--- a/vendor/symfony/http-foundation/ExpressionRequestMatcher.php
+++ b/vendor/symfony/http-foundation/ExpressionRequestMatcher.php
@@ -35,13 +35,13 @@ class ExpressionRequestMatcher extends RequestMatcher
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);
}
}