Skip to content

Commit

Permalink
update functions' type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Jun 27, 2024
1 parent 7d01fcb commit cd4cff5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions php/WP_Mock.php
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ public static function getDeprecatedMethodListener(): DeprecatedMethodListener
*
* @param string $action the action hook name
* @param string|callable-string|callable|Type $callback the callable to be removed
* @param ?int|Type $priority the priority it should be registered at
* @param int|Type|null $priority the priority it should be registered at
*
* @return void
* @throws InvalidArgumentException
Expand All @@ -573,7 +573,7 @@ public static function expectActionRemoved(string $action, $callback, $priority
*
* @param string $action the action hook name
* @param null|string|callable-string|callable|Type $callback the callable to be removed
* @param ?int|Type $priority optional priority for the registered callback that is being removed
* @param int|Type|null $priority optional priority for the registered callback that is being removed
*
* @return void
* @throws InvalidArgumentException
Expand All @@ -594,7 +594,7 @@ public static function expectActionNotRemoved(string $action, $callback, $priori
*
* @param string $filter the filter name
* @param string|callable-string|callable|Type $callback the callable to be removed
* @param ?int|Type $priority the registered priority
* @param int|Type|null $priority the registered priority
*
* @return void
* @throws InvalidArgumentException
Expand All @@ -615,7 +615,7 @@ public static function expectFilterRemoved(string $filter, $callback, $priority
*
* @param string $filter the filter name
* @param null|string|callable-string|callable|Type $callback the callable to be removed
* @param ?int|Type $priority optional priority for the registered callback that is being removed
* @param int|Type|null $priority optional priority for the registered callback that is being removed
*
* @return void
* @throws InvalidArgumentException
Expand Down

0 comments on commit cd4cff5

Please sign in to comment.