Skip to content

Commit

Permalink
Merge pull request #22393 from eileenmcnaughton/no_ref
Browse files Browse the repository at this point in the history
Remove unnecessary pass-by-ref
  • Loading branch information
eileenmcnaughton authored Jan 7, 2022
2 parents 35db25f + 5c34e41 commit c0228d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/BAO/Relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ public static function getRelationType($targetContactType) {
* @throws \CRM_Core_Exception
* @throws \CiviCRM_API3_Exception
*/
public static function relatedMemberships($contactId, &$params, $ids, $action = CRM_Core_Action::ADD, $active = TRUE) {
public static function relatedMemberships($contactId, $params, $ids, $action = CRM_Core_Action::ADD, $active = TRUE) {
// Check the end date and set the status of the relationship
// accordingly.
$status = self::CURRENT;
Expand Down

0 comments on commit c0228d8

Please sign in to comment.