Ver código fonte

Rollback awful change from 3351c3e8ec6463fe01b52ecb1bad0fd662ef480c

Jordi Boggiano 12 anos atrás
pai
commit
2693859c00
1 arquivos alterados com 5 adições e 1 exclusões
  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()
     {