1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Merge pull request #145 from stof/EntityGenerator_versionCheck

Fixed the version check in the entity generator
This commit is contained in:
Guilherme Blanco 2011-10-10 12:34:01 -07:00
commit 509e5fb12f

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\\';
}
}