@@ -40,7 +40,7 @@ public function __construct(array $defaultThemes, Environment $environment)
40
40
/**
41
41
* {@inheritdoc}
42
42
*/
43
- public function renderBlock (FormView $ view , $ resource , string $ blockName , array $ variables = [])
43
+ public function renderBlock (FormView $ view , $ resource , $ blockName , array $ variables = [])
44
44
{
45
45
$ cacheKey = $ view ->vars [self ::CACHE_KEY_VAR ];
46
46
@@ -76,7 +76,7 @@ public function renderBlock(FormView $view, $resource, string $blockName, array
76
76
*
77
77
* @return bool True if the resource could be loaded, false otherwise
78
78
*/
79
- protected function loadResourceForBlockName (string $ cacheKey , FormView $ view , string $ blockName )
79
+ protected function loadResourceForBlockName ($ cacheKey , FormView $ view , $ blockName )
80
80
{
81
81
// The caller guarantees that $this->resources[$cacheKey][$block] is
82
82
// 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
150
150
* this variable will be kept and be available upon
151
151
* further calls to this method using the same theme.
152
152
*/
153
- protected function loadResourcesFromTheme (string $ cacheKey , &$ theme )
153
+ protected function loadResourcesFromTheme ($ cacheKey , &$ theme )
154
154
{
155
155
if (!$ theme instanceof Template) {
156
156
/* @var Template $theme */
0 commit comments