Issue #3293122 by lauriii: Document \Drupal\Core\Template\TwigExtension::getPath $parameters argument as optional (cherry picked from commit 4214a87c)