From 201533e16fedf5004971e4248831e61fce298a3d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 17 Jul 2020 11:05:57 +0200 Subject: [PATCH] Fix return value --- src/Composer/Repository/RepositoryFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/RepositoryFactory.php b/src/Composer/Repository/RepositoryFactory.php index afe1db636..b36664187 100644 --- a/src/Composer/Repository/RepositoryFactory.php +++ b/src/Composer/Repository/RepositoryFactory.php @@ -173,6 +173,6 @@ class RepositoryFactory $name .= '2'; } - return is_numeric((string) $name) ? 'repo'.$name : $name; + return $name; } }