Fix typing bug

This commit is contained in:
2021-07-15 17:13:08 +02:00
parent 3ea3a9f2c0
commit 1905450776

View File

@ -60,7 +60,7 @@ final class MDObjectSyndicationSet extends MDValueSet {
*/
final public static function checkRepositoryIsKnown(string $repo) {
if (isset(self::REPOSITORIES[$repo])) {
return self::REPOSITORIES[$repo];
return $repo;
}
return false;