Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Fix this signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 10, 2024
1 parent 3ec50c6 commit dfe964d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/class-hook-factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ public function matches( ContextStack $context, $node ): bool {
return in_array( $calling, $functions );
}

protected function doCreate( ContextStack $context, Node $node, StrategyContainer $strategies ): void {
/**
* @param Node $node
*/
protected function doCreate( ContextStack $context, $node, StrategyContainer $strategies ): void {
$expression = $node->expr;

// is 'filter'
Expand Down

0 comments on commit dfe964d

Please sign in to comment.