From cd46ba578730f4a42e473d0f6fb79af72145feaf 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

(cherry picked from commit 4214a87c572f3353e89ebfcdacbb4f392425d1f9)
---
 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 1a75a9a6ac92..13f97e58f4ee 100644
--- a/core/lib/Drupal/Core/Template/TwigExtension.php
+++ b/core/lib/Drupal/Core/Template/TwigExtension.php
@@ -183,7 +183,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