Skip to content

Commit

Permalink
Default to empty array instead of null for attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Aug 4, 2023
1 parent df667df commit 3ba27b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/XML/md/ContactPerson.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public static function fromArray(array $data): static
$data['Extensions'] ?? null,
$data['EmailAddress'] ?? [],
$data['TelephoneNumber'] ?? [],
$data['attributes'] ?? null,
$data['attributes'] ?? [],
);
}

Expand Down

0 comments on commit 3ba27b3

Please sign in to comment.