Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WP_Mock::expectHookNotAdded() with new params #234

Merged
merged 9 commits into from
Aug 16, 2023
Prev Previous commit
Next Next commit
Update PhpDocs
  • Loading branch information
unfulvio-godaddy committed Aug 16, 2023
commit 4a4b6ee8f595869388529f97858b11a553a2b242
4 changes: 2 additions & 2 deletions php/WP_Mock.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public static function assertFiltersCalled()
}

/**
* Add an expectation that an action hook should be added.
* Adds an expectation that an action hook should be added.
*
* @param string $action the action hook name
* @param callable-string|callable|Type $callback the callback that should be registered
Expand All @@ -299,7 +299,7 @@ public static function expectActionAdded(string $action, $callback, int $priorit
}

/**
* Add an expectation that an action hook should not be added.
* Adds an expectation that an action hook should not be added.
*
* @param string $action the action hook name
* @param callable-string|callable|Type $callback the callback that should be registered
Expand Down