From 4214a87c572f3353e89ebfcdacbb4f392425d1f9 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Sun, 10 Jul 2022 17:27:33 +0900
Subject: [PATCH] Issue #3293122 by lauriii: Document
 \Drupal\Core\Template\TwigExtension::getPath $parameters argument as optional

---
 core/lib/Drupal/Core/Template/TwigExtension.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Core/Template/TwigExtension.php b/core/lib/Drupal/Core/Template/TwigExtension.php
index ef62bbec5e4d..71f587630c6e 100644
--- a/core/lib/Drupal/Core/Template/TwigExtension.php
+++ b/core/lib/Drupal/Core/Template/TwigExtension.php
@@ -179,7 +179,7 @@ public function getName() {
    * @param $name
    *   The name of the route.
    * @param array $parameters
-   *   An associative array of route parameters names and values.
+   *   (optional) An associative array of route parameters names and values.
    * @param array $options
    *   (optional) An associative array of additional options. The 'absolute'
    *   option is forced to be FALSE.
-- 
GitLab