From f722f952e7c0989d7b2f3bd6b2aadccdb2c920bb Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 4 Feb 2018 22:41:28 -0200 Subject: [PATCH] Fix misspelling Signed-off-by: Gabriel Caruso --- CHANGELOG.md | 2 +- src/Composer/Repository/Vcs/GitLabDriver.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a9a026a3..12960efe6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -169,7 +169,7 @@ * Added `COMPOSER_MIRROR_PATH_REPOS` env var to force mirroring of path repositories vs symlinking * Added `COMPOSER_DEV_MODE` env var that is set by Composer to forward the dev mode to script handlers * Fixed support for git 2.11 - * Fixed output from zip and rar leaking out when an error occured + * Fixed output from zip and rar leaking out when an error occurred * Removed `hash` from composer.lock, only `content-hash` is now used which should reduce conflicts * Minor fixes and performance improvements diff --git a/src/Composer/Repository/Vcs/GitLabDriver.php b/src/Composer/Repository/Vcs/GitLabDriver.php index dcaf646ec..2044ff702 100644 --- a/src/Composer/Repository/Vcs/GitLabDriver.php +++ b/src/Composer/Repository/Vcs/GitLabDriver.php @@ -129,7 +129,7 @@ class GitLabDriver extends VcsDriver return $this->gitDriver->getFileContent($file, $identifier); } - // Convert the root identifier to a cachable commit id + // Convert the root identifier to a cacheable commit id if (!preg_match('{[a-f0-9]{40}}i', $identifier)) { $branches = $this->getBranches(); if (isset($branches[$identifier])) {