diff --git a/src/Bridges/ApplicationLatte/Template.php b/src/Bridges/ApplicationLatte/Template.php index 158acefe9..3640239cd 100644 --- a/src/Bridges/ApplicationLatte/Template.php +++ b/src/Bridges/ApplicationLatte/Template.php @@ -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; }