From 39fb2cc51ca8569530e0ecd911bc364ec08b8f48 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 28 Jan 2020 16:04:11 +0100 Subject: [PATCH] Fix case --- src/Composer/Package/Locker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Package/Locker.php b/src/Composer/Package/Locker.php index f4c252989..2de846359 100644 --- a/src/Composer/Package/Locker.php +++ b/src/Composer/Package/Locker.php @@ -210,7 +210,7 @@ class Locker if (!empty($lockData['platform'])) { $requirements = $this->loader->parseLinks( - '__ROOT__', + '__root__', '1.0.0', 'requires', isset($lockData['platform']) ? $lockData['platform'] : array() @@ -219,7 +219,7 @@ class Locker if ($withDevReqs && !empty($lockData['platform-dev'])) { $devRequirements = $this->loader->parseLinks( - '__ROOT__', + '__root__', '1.0.0', 'requires', isset($lockData['platform-dev']) ? $lockData['platform-dev'] : array()