Skip to content

Commit

Permalink
JsonFormsHidden: Make constructor argument $keywords optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Tubach committed Sep 15, 2023
1 parent 141e421 commit 0ec0178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Civi/RemoteTools/JsonForms/Control/JsonFormsHidden.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0ec0178

Please sign in to comment.