Skip to content

Commit

Permalink
Merge pull request #46 from conduit-innovation/dev-main
Browse files Browse the repository at this point in the history
doc: update hook docblock
  • Loading branch information
talss89 committed May 1, 2023
2 parents 8969937 + a14a67c commit dac58be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/class/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ function __construct($hook_name, $callback, $priority, $function_key)
}

/**
* remove
* Remove and un-hook the handler
*
* @return bool
* @return bool `true` on success
*/

public function remove(): bool
Expand All @@ -56,7 +56,7 @@ public function remove(): bool
* replace
*
* @param mixed $callback
* @return bool
* @return bool
*/

public function replace(callable $callback): bool
Expand Down

0 comments on commit dac58be

Please sign in to comment.