Explorar o código

Rollback awful change from 3351c3e8ec6463fe01b52ecb1bad0fd662ef480c

Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
2693859c00
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/Packagist/WebBundle/Entity/PackageLink.php

+ 5 - 1
src/Packagist/WebBundle/Entity/PackageLink.php

@@ -38,7 +38,11 @@ abstract class PackageLink
      */
     private $packageVersion;
 
-    private $version;
+    /**
+     * Base property holding the version - this must remain protected since it
+     * is redefined with an annotation in the child class
+     */
+    protected $version;
 
     public function toArray()
     {