Skip to content

Commit

Permalink
Template::addFilter() returns $this
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 12, 2016
1 parent fd496b8 commit d84a480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Bridges/ApplicationLatte/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public function __toString()
*/
public function addFilter($name, $callback)
{
return $this->latte->addFilter($name, $callback);
$this->latte->addFilter($name, $callback);
return $this;
}


Expand Down

0 comments on commit d84a480

Please sign in to comment.