Skip to content

Commit

Permalink
tests: fixed compatibility with PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jul 14, 2017
1 parent 905bfc8 commit 4eec7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Bridges.Latte/TemplateFactory.customTemplate.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TemplateMock extends Template
private $file = 'ko';


public function render(): void
public function render($file = NULL, array $params = []): void
{
echo strrev($this->file);
}
Expand Down

0 comments on commit 4eec7c0

Please sign in to comment.