Explorar o código

Fix Locker to store exact package version.

Alexey Prilipko %!s(int64=13) %!d(string=hai) anos
pai
achega
0117108efb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Package/Locker.php

+ 1 - 1
src/Composer/Package/Locker.php

@@ -211,7 +211,7 @@ class Locker
             }
 
             $name    = $package->getPrettyName();
-            $version = $package->getPrettyVersion();
+            $version = $package->getVersion();
 
             if (!$name || !$version) {
                 throw new \LogicException(sprintf(