Fix typing bug

This commit is contained in:
Joshua Ramon Enslin 2021-07-15 17:13:08 +02:00
parent 3ea3a9f2c0
commit 1905450776
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

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;