Skip to content

Commit f07079a

Browse files
committed
Add missing return-type
1 parent a291f82 commit f07079a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimpleSAML/XHTML/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ public function getEntityDisplayName(array $data): string
679679
* can be a string, array or other type allowed in metadata, if not found it
680680
* returns null.
681681
*/
682-
public function getEntityPropertyTranslation(string $property, array $data)
682+
public function getEntityPropertyTranslation(string $property, array $data): array|string|null
683683
{
684684
$tryLanguages = $this->translator->getLanguage()->getPreferredLanguages();
685685

0 commit comments

Comments
 (0)