Skip to content

Commit

Permalink
Alters $version property to $current_version
Browse files Browse the repository at this point in the history
To avoid collision with route param 'version' from the Doctrine integration with Apigility
  • Loading branch information
phpboyscout committed Sep 18, 2015
1 parent 9ab2a67 commit e8392cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZucchiDoctrine/Entity/AbstractEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AbstractEntity implements
* @ORM\Column(type="integer")
* @Form\Exclude
*/
protected $version;
protected $current_version;


/**
Expand Down Expand Up @@ -162,4 +162,4 @@ public function fromArray($options)
}
}
}
}
}

0 comments on commit e8392cc

Please sign in to comment.