From 0ec0178b06e2caf5d1c9ed161f309eb12b977253 Mon Sep 17 00:00:00 2001 From: Dominic Tubach Date: Fri, 15 Sep 2023 16:08:26 +0200 Subject: [PATCH] JsonFormsHidden: Make constructor argument $keywords optional --- Civi/RemoteTools/JsonForms/Control/JsonFormsHidden.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/RemoteTools/JsonForms/Control/JsonFormsHidden.php b/Civi/RemoteTools/JsonForms/Control/JsonFormsHidden.php index 11dc510..97a643f 100644 --- a/Civi/RemoteTools/JsonForms/Control/JsonFormsHidden.php +++ b/Civi/RemoteTools/JsonForms/Control/JsonFormsHidden.php @@ -28,7 +28,7 @@ */ class JsonFormsHidden extends JsonFormsControl { - public function __construct(string $scope, array $keywords) { + public function __construct(string $scope, array $keywords = []) { parent::__construct($scope, '', NULL, [ 'type' => 'hidden', ], $keywords);