diff --git a/src/Composer/Repository/PlatformRepository.php b/src/Composer/Repository/PlatformRepository.php index 2e90e05f3..2b98cae94 100644 --- a/src/Composer/Repository/PlatformRepository.php +++ b/src/Composer/Repository/PlatformRepository.php @@ -335,7 +335,7 @@ class PlatformRepository extends ArrayRepository if ($this->runtime->hasClass('ResourceBundle')) { $resourceBundle = $this->runtime->invoke(['ResourceBundle', 'create'], ['root', 'ICUDATA', false]); if ($resourceBundle !== null) { - $this->addLibrary('icu-cldr', $resourceBundle->get('Version');, 'ICU CLDR project version'); + $this->addLibrary('icu-cldr', $resourceBundle->get('Version'), 'ICU CLDR project version'); } }