Skip to content

Commit 9a58eea

Browse files
vitkutnydg
authored andcommitted
UIRuntime: unnecessary required parameters
1 parent b264793 commit 9a58eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridges/ApplicationLatte/UIRuntime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class UIRuntime extends Nette\Object
1919
{
2020

21-
public static function renderSnippets(UI\Control $control, \stdClass $local, array $params)
21+
public static function renderSnippets(UI\Control $control, \stdClass $local = NULL, array $params = [])
2222
{
2323
$control->snippetMode = FALSE;
2424
$payload = $control->getPresenter()->getPayload();

0 commit comments

Comments
 (0)