Skip to content

Commit

Permalink
Merge pull request ZF-Commons#85 from tafax/master
Browse files Browse the repository at this point in the history
Changed EntityManager with EntityManagerInterface
  • Loading branch information
Danielss89 committed Nov 29, 2014
2 parents 9a2e148 + 8e1bb39 commit 90442b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ZfcUserDoctrineORM/Mapper/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

namespace ZfcUserDoctrineORM\Mapper;

use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use ZfcUser\Mapper\User as ZfcUserMapper;
use ZfcUserDoctrineORM\Options\ModuleOptions;
use Zend\Stdlib\Hydrator\HydratorInterface;

class User extends ZfcUserMapper
{
/**
* @var \Doctrine\ORM\EntityManager
* @var \Doctrine\ORM\EntityManagerInterface
*/
protected $em;

Expand All @@ -19,7 +19,7 @@ class User extends ZfcUserMapper
*/
protected $options;

public function __construct(EntityManager $em, ModuleOptions $options)
public function __construct(EntityManagerInterface $em, ModuleOptions $options)
{
$this->em = $em;
$this->options = $options;
Expand Down

0 comments on commit 90442b1

Please sign in to comment.