Description of the problem
The relationship_query hook generator that is used by the CLI for extension hook generation has the incorrect parameters.
The docs states the parameters are: relationships_query($field_name, $entry_ids, $depths, $sql)
The generator creates the hook with $field_name, $entry.
How To Reproduce
Steps to reproduce the behavior:
Run eecli.php make:extension-hook and choose the relationship_query hook.

EE 7.2.x
Description of the problem
The
relationship_queryhook generator that is used by the CLI for extension hook generation has the incorrect parameters.The docs states the parameters are: relationships_query($field_name, $entry_ids, $depths, $sql)
The generator creates the hook with
$field_name, $entry.How To Reproduce
Steps to reproduce the behavior:
Run
eecli.php make:extension-hookand choose therelationship_queryhook.EE 7.2.x