1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Format code

This commit is contained in:
yktd26 2013-12-31 12:25:14 +01:00
parent bee74f898d
commit c9e06a6854
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class ProxyFactory extends AbstractProxyFactory
* @param string $proxyNs The namespace to use for the proxy classes.
* @param boolean|int $autoGenerate Whether to automatically generate proxy classes.
*/
public function __construct(EntityManager $em, $proxyDir, $proxyNs, $autoGenerate = AbstractProxyFactory :: AUTOGENERATE_NEVER)
public function __construct(EntityManager $em, $proxyDir, $proxyNs, $autoGenerate = AbstractProxyFactory::AUTOGENERATE_NEVER)
{
$proxyGenerator = new ProxyGenerator($proxyDir, $proxyNs);

View File

@ -48,7 +48,7 @@ class ProxyFactoryTest extends \Doctrine\Tests\OrmTestCase
$this->emMock = EntityManagerMock::create($this->connectionMock);
$this->uowMock = new UnitOfWorkMock($this->emMock);
$this->emMock->setUnitOfWork($this->uowMock);
$this->proxyFactory = new ProxyFactory($this->emMock, sys_get_temp_dir(), 'Proxies', AbstractProxyFactory :: AUTOGENERATE_ALWAYS);
$this->proxyFactory = new ProxyFactory($this->emMock, sys_get_temp_dir(), 'Proxies', AbstractProxyFactory::AUTOGENERATE_ALWAYS);
}
public function testReferenceProxyDelegatesLoadingToThePersister()