Skip to content

Commit

Permalink
[*]: refactoring methods with "__"-prefix into "_" (no breaking chang…
Browse files Browse the repository at this point in the history
…es) v2

-> only moving a code-comment
  • Loading branch information
voku committed May 8, 2017
1 parent 12438b6 commit a468060
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/voku/helper/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,6 @@ private function _filter_build_unique_id($function)
*/
public function _call_all_hook($args)
{
// <-- refactoring "__call_all_hook()" into "_call_all_hook()" is a breaking change (BC),
// so we will only deprecate the usage

reset($this->filters['all']);

do {
Expand Down Expand Up @@ -746,6 +743,9 @@ public function _call_all_hook($args)
*/
public function __call_all_hook($args)
{
// <-- refactoring "__call_all_hook()" into "_call_all_hook()" is a breaking change (BC),
// so we will only deprecate the usage

$this->_call_all_hook($args);
}

Expand Down

0 comments on commit a468060

Please sign in to comment.