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:
parent
45308d5f79
commit
c7c875a063
@ -150,7 +150,7 @@ public function <methodName>()
|
|||||||
|
|
||||||
public function __construct()
|
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\\';
|
$this->_annotationsPrefix = 'ORM\\';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user