Browse Source

Rollback awful change from 3351c3e8ec6463fe01b52ecb1bad0fd662ef480c

Jordi Boggiano 12 years ago
parent
commit
2693859c00
1 changed files with 5 additions and 1 deletions
  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()
     {