1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Fixed the version check in the entity generator

The 3.0.x branch of Common has been merged to become the incoming
2.2 release.
This commit is contained in:
Christophe Coevoet 2011-10-10 19:20:01 +02:00
parent 45308d5f79
commit c7c875a063

View File

@ -150,7 +150,7 @@ public function <methodName>()
public function __construct()
{
if (version_compare(\Doctrine\Common\Version::VERSION, '3.0.0-DEV', '>=')) {
if (version_compare(\Doctrine\Common\Version::VERSION, '2.2.0-DEV', '>=')) {
$this->_annotationsPrefix = 'ORM\\';
}
}