Merge pull request #23190 from eileenmcnaughton/pradeep
[civicrm-core.git] / CRM / Core / BAO / PdfFormat.php
index 33783d7306c4a87a091f3e4bf5e8e229278d18ab..a082ace7afe12a9547b18291373154070c1bf1f2 100644 (file)
@@ -263,7 +263,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    *
    * @return value
    */
-  public static function getValue($field, &$values, $default = NULL) {
+  public static function getValue($field, $values, $default = NULL) {
     if (array_key_exists($field, self::$optionValueFields)) {
       switch (self::$optionValueFields[$field]['type']) {
         case CRM_Utils_Type::T_INT:
@@ -328,7 +328,7 @@ class CRM_Core_BAO_PdfFormat extends CRM_Core_DAO_OptionValue {
    *   Id of the database record (null = new record).
    * @throws CRM_Core_Exception
    */
-  public function savePdfFormat(&$values, $id = NULL) {
+  public function savePdfFormat($values, $id = NULL) {
     // get the Option Group ID for PDF Page Formats (create one if it doesn't exist)
     $group_id = self::_getGid();