Merge pull request #145 from stof/EntityGenerator_versionCheck
Fixed the version check in the entity generator
This commit is contained in:
commit
509e5fb12f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue