From 1b64eba98d7ed73f9386230c5611a693de94ac19 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Tue, 5 May 2020 22:11:46 +0200 Subject: [PATCH] Fix PHPCS --- modules/admin/lib/Controller/Test.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/admin/lib/Controller/Test.php b/modules/admin/lib/Controller/Test.php index 6e5b7a2cb..cb9fa7731 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) { -- GitLab