From: Eileen McNaughton Date: Thu, 20 Jan 2022 22:41:41 +0000 (+1300) Subject: Remove param default X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ab887b0e7520e1fb75321b2753df66c13bdc3351;p=civicrm-core.git Remove param default Since value is required the default for label would never be used --- diff --git a/Civi/Payment/PropertyBag.php b/Civi/Payment/PropertyBag.php index 24987057ef..4e76c5aedf 100644 --- a/Civi/Payment/PropertyBag.php +++ b/Civi/Payment/PropertyBag.php @@ -315,7 +315,7 @@ class PropertyBag implements \ArrayAccess { * * @return PropertyBag $this object so you can chain set setters. */ - protected function set($prop, $label = 'default', $value) { + protected function set($prop, $label, $value) { $this->props[$label][$prop] = $value; return $this; }