From ab887b0e7520e1fb75321b2753df66c13bdc3351 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 21 Jan 2022 11:41:41 +1300 Subject: [PATCH] Remove param default Since value is required the default for label would never be used --- Civi/Payment/PropertyBag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1