diff --git a/core/lib/Drupal/Core/Access/AccessResult.php b/core/lib/Drupal/Core/Access/AccessResult.php index bf88316..de15945 100644 --- a/core/lib/Drupal/Core/Access/AccessResult.php +++ b/core/lib/Drupal/Core/Access/AccessResult.php @@ -203,7 +203,7 @@ public function getCacheMaxAge() { * @return $this */ public function resetCacheContexts() { - $this->cacheContexts = array(); + $this->cacheContexts = []; return $this; } @@ -213,7 +213,7 @@ public function resetCacheContexts() { * @return $this */ public function resetCacheTags() { - $this->cacheTags = array(); + $this->cacheTags = []; return $this; }