Skip to content

Commit

Permalink
Added optional parameter to addFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
gwagroves committed Apr 25, 2016
1 parent 76420bf commit 8909897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gwa/MockeryWpBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8909897

Please sign in to comment.