浏览代码

Rollback awful change from 3351c3e8ec6463fe01b52ecb1bad0fd662ef480c

Jordi Boggiano 12 年之前
父节点
当前提交
2693859c00
共有 1 个文件被更改,包括 5 次插入1 次删除
  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()
     {