diff --git a/poetry/packages/locker.py b/poetry/packages/locker.py
index <HASH>..<HASH> 100644
--- a/poetry/packages/locker.py
+++ b/poetry/packages/locker.py
@@ -152,7 +152,7 @@ class Locker:
 
     def _get_content_hash(self):  # type: () -> str
         """
-        Returns the sha256 hash of the sorted content of the composer file.
+        Returns the sha256 hash of the sorted content of the pyproject file.
         """
         content = self._local_config
Fix typo in comment (#<I>)