Fatal Error in Has Tag Condition
This is on the latest development master, plus MR#128.
I have several rules firing, but I suspect the one responsible has trigger of 'Contact is Tagged', and a condition of 'Entity Has/Does Not Have Tag(s)'. The following error message is generated.
Fatal error: Declaration of CRM_CivirulesConditions_Generic_HasTag::getExtraDataInputUrl(int $ruleConditionId) must be compatible with CRM_Civirules_Condition::getExtraDataInputUrl($ruleConditionId) in /home/lalg/www/d8memb/web/sites/default/files/civicrm/ext/org.civicoop.civirules/CRM/CivirulesConditions/Generic/HasTag.php on line 213
I do not know if the correct fix is to change the function declaration or the call, but the error goes away if I change the declaration in org.civicoop.civirules/CRM/Civirules/Condition.php
, line 43, from:
abstract public function getExtraDataInputUrl($ruleConditionId);
to
abstract public function getExtraDataInputUrl(int $ruleConditionId);