Fix typing bug
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user