Remove unnecessary pass-by-ref
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 2 Jan 2023 06:02:44 +0000 (19:02 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 2 Jan 2023 06:02:44 +0000 (19:02 +1300)
CRM/Utils/Sort.php

index 691aef877fab4ce719ae3defa1b1899219dbfb68..617e4c33e16c6ed7059da97e84604f681c2c1fc9 100644 (file)
@@ -99,7 +99,7 @@ class CRM_Utils_Sort {
    *
    * @return \CRM_Utils_Sort
    */
-  public function __construct(&$vars, $defaultSortOrder = NULL) {
+  public function __construct($vars, $defaultSortOrder = NULL) {
     $this->_vars = [];
     $this->_response = [];