diff --git a/modules/admin/lib/Controller/Test.php b/modules/admin/lib/Controller/Test.php index 6e5b7a2cbe4726ac6918ef0dc197285d81b2d6f9..cb9fa773100fb6042f1dbff9a88f09c36d191945 100644 --- a/modules/admin/lib/Controller/Test.php +++ b/modules/admin/lib/Controller/Test.php @@ -126,8 +126,9 @@ class Test "NameId" => [$nameId->getValue()], ]; if ($nameId->getFormat() !== null) { - /** @var string $format */ - $format = $translator->getPreferredTranslation($translator->getTag('{status:subject_format}') ?? ['en'=>'Format']); + $format = $translator->getPreferredTranslation( + $translator->getTag('{status:subject_format}') ?? ['en' => 'Format'] + ); $list[$format] = [$nameId->getFormat()]; } if ($nameId->getNameQualifier() !== null) { @@ -272,8 +273,9 @@ class Test 'NameID' => [$nameID->getValue()], ]; if ($nameID->getFormat() !== null) { - /** @var string $format */ - $format = $t->getPreferredTranslation($t->getTag('{status:subject_format}') ?? ['en'=>'Format']); + $format = $t->getPreferredTranslation( + $t->getTag('{status:subject_format}') ?? ['en' => 'Format'] + ); $eptid[$format] = [$nameID->getFormat()]; } if ($nameID->getNameQualifier() !== null) {