Fix typing bug

This commit is contained in:
jrenslin committed 2021-07-15 17:13:08 +02:00
1 parent 3ea3a9f2c0
commit 1905450776
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ public static function getSearchUrlForObject(string $repo, string $instId, strin
*/
final public static function checkRepositoryIsKnown(string $repo) {
if (isset(self::REPOSITORIES[$repo])) {
return self::REPOSITORIES[$repo];
return $repo;
}
return false;