From 89098975c57ff6102b71dbf3f0470161b0412fb6 Mon Sep 17 00:00:00 2001 From: Timothy Groves Date: Mon, 25 Apr 2016 08:02:59 +0200 Subject: [PATCH] Added optional parameter to addFilter --- src/Gwa/MockeryWpBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gwa/MockeryWpBridge.php b/src/Gwa/MockeryWpBridge.php index 01ebbe3..727d5d5 100644 --- a/src/Gwa/MockeryWpBridge.php +++ b/src/Gwa/MockeryWpBridge.php @@ -121,7 +121,7 @@ public function __($text, $domain) * * @return self */ - public function addFilter($filterName, $filterCall, $prio, $numVars) + public function addFilter($filterName, $filterCall, $prio = 10, $numVars = 1) { $this->filters[] = $this->add($filterName, $filterCall, $prio, $numVars);