Skip to content

Commit

Permalink
backward compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimonka2 committed Feb 11, 2020
1 parent 88b3fd0 commit 1665ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlatformService.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static function render(array $element)
return self::context($element)->setOptions($options)->render();
}

public static function context($elements): Context
public static function context($elements = []): Context
{
if (!self::$context) {
self::$context = new Context($elements);
Expand Down

0 comments on commit 1665ade

Please sign in to comment.