Skip to content

Commit 26647b5

Browse files
committed
Fix incorrect case
1 parent a84ed2b commit 26647b5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/XML/md/ContactPerson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ private static function processArrayContents(array $data): array
382382
public function toArray(): array
383383
{
384384
$data = [
385-
'ContactType' => $this->getContactType()->getValue(),
385+
'contactType' => $this->getContactType()->getValue(),
386386
'Company' => $this->getCompany()?->getContent()->getValue(),
387387
'GivenName' => $this->getGivenName()?->getContent()->getValue(),
388388
'SurName' => $this->getSurName()?->getContent()->getValue(),

tests/SAML2/XML/md/ContactPersonTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static function setUpBeforeClass(): void
6464
);
6565

6666
self::$arrayRepresentation = [
67-
'ContactType' => 'administrative',
67+
'contactType' => 'administrative',
6868
'Company' => 'SimpleSAMLphp',
6969
'GivenName' => 'Lead',
7070
'SurName' => 'Developer',

0 commit comments

Comments
 (0)