1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

Fixed wrong interface.

This commit is contained in:
Guilherme Blanco 2013-06-13 23:31:18 -04:00
parent 7eb744126b
commit 37e7e841c3

View file

@ -34,7 +34,7 @@ use Doctrine\ORM\Mapping\EntityListenerResolver;
use Doctrine\ORM\Mapping\NamingStrategy; use Doctrine\ORM\Mapping\NamingStrategy;
use Doctrine\ORM\Mapping\QuoteStrategy; use Doctrine\ORM\Mapping\QuoteStrategy;
use Doctrine\ORM\Repository\DefaultRepositoryFactory; use Doctrine\ORM\Repository\DefaultRepositoryFactory;
use Doctrine\ORM\Repository\RepositoryFactoryInterface; use Doctrine\ORM\Repository\RepositoryFactory;
/** /**
* Configuration container for all configuration options of Doctrine. * Configuration container for all configuration options of Doctrine.
@ -786,9 +786,9 @@ class Configuration extends \Doctrine\DBAL\Configuration
* Set the entity repository factory. * Set the entity repository factory.
* *
* @since 2.5 * @since 2.5
* @param \Doctrine\ORM\Repository\RepositoryFactoryInterface $repositoryFactory * @param \Doctrine\ORM\Repository\RepositoryFactory $repositoryFactory
*/ */
public function setRepositoryFactory(RepositoryFactoryInterface $repositoryFactory) public function setRepositoryFactory(RepositoryFactory $repositoryFactory)
{ {
$this->_attributes['repositoryFactory'] = $repositoryFactory; $this->_attributes['repositoryFactory'] = $repositoryFactory;
} }
@ -797,7 +797,7 @@ class Configuration extends \Doctrine\DBAL\Configuration
* Get the entity repository factory. * Get the entity repository factory.
* *
* @since 2.5 * @since 2.5
* @return \Doctrine\ORM\Repository\RepositoryFactoryInterface * @return \Doctrine\ORM\Repository\RepositoryFactory
*/ */
public function getRepositoryFactory() public function getRepositoryFactory()
{ {