Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 15fa7d4

Browse filesBrowse files
committed
Revert TwigRendererEngine changes
1 parent 01155b8 commit 15fa7d4
Copy full SHA for 15fa7d4

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎src/Symfony/Bridge/Twig/Form/TwigRendererEngine.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/Form/TwigRendererEngine.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(array $defaultThemes, Environment $environment)
4040
/**
4141
* {@inheritdoc}
4242
*/
43-
public function renderBlock(FormView $view, $resource, string $blockName, array $variables = [])
43+
public function renderBlock(FormView $view, $resource, $blockName, array $variables = [])
4444
{
4545
$cacheKey = $view->vars[self::CACHE_KEY_VAR];
4646

@@ -76,7 +76,7 @@ public function renderBlock(FormView $view, $resource, string $blockName, array
7676
*
7777
* @return bool True if the resource could be loaded, false otherwise
7878
*/
79-
protected function loadResourceForBlockName(string $cacheKey, FormView $view, string $blockName)
79+
protected function loadResourceForBlockName($cacheKey, FormView $view, $blockName)
8080
{
8181
// The caller guarantees that $this->resources[$cacheKey][$block] is
8282
// not set, but it doesn't have to check whether $this->resources[$cacheKey]
@@ -150,7 +150,7 @@ protected function loadResourceForBlockName(string $cacheKey, FormView $view, st
150150
* this variable will be kept and be available upon
151151
* further calls to this method using the same theme.
152152
*/
153-
protected function loadResourcesFromTheme(string $cacheKey, &$theme)
153+
protected function loadResourcesFromTheme($cacheKey, &$theme)
154154
{
155155
if (!$theme instanceof Template) {
156156
/* @var Template $theme */

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.