Skip to content

Commit d84a480

Browse files
committed
Template::addFilter() returns $this
1 parent fd496b8 commit d84a480

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Bridges/ApplicationLatte/Template.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public function __toString()
8585
*/
8686
public function addFilter($name, $callback)
8787
{
88-
return $this->latte->addFilter($name, $callback);
88+
$this->latte->addFilter($name, $callback);
89+
return $this;
8990
}
9091

9192

0 commit comments

Comments
 (0)