Removing ::class
usage (PHP 5.5 is not yet required on ORM 2.5)
This commit is contained in:
parent
8e95672f49
commit
47ce079b64
@ -15,6 +15,8 @@ namespace Doctrine\Tests\Models\Issue5989;
|
||||
*/
|
||||
class Issue5989Person
|
||||
{
|
||||
const CLASSNAME = __CLASS__;
|
||||
|
||||
/**
|
||||
* @Id
|
||||
* @Column(type="integer")
|
||||
|
@ -40,7 +40,7 @@ class Issue5989Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
||||
// instead of just returning the existing managed entities
|
||||
$this->_em->clear();
|
||||
|
||||
$repository = $this->_em->getRepository(Issue5989Person::class);
|
||||
$repository = $this->_em->getRepository(Issue5989Person::CLASSNAME);
|
||||
|
||||
$manager = $repository->find($managerId);
|
||||
$employee = $repository->find($employeeId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user