Skip to content

Commit 83cd9bd

Browse files
authored
Merge pull request #664 from Gemorroj/patch-2
use static construction for static method
2 parents 0f2b163 + 3b4be8c commit 83cd9bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Unpacker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function updateLock(Result $result, IOInterface $io): void
136136
$jsonContent = file_get_contents($json->getPath());
137137
$lockData['packages'] = array_values($lockData['packages']);
138138
$lockData['packages-dev'] = array_values($lockData['packages-dev']);
139-
$lockData['content-hash'] = $locker->getContentHash($jsonContent);
139+
$lockData['content-hash'] = Locker::getContentHash($jsonContent);
140140
$lockFile = new JsonFile(substr($json->getPath(), 0, -4).'lock', null, $io);
141141

142142
if (!$this->dryRun) {

0 commit comments

Comments
 (0)