UserApi code quality fix.

This commit is contained in:
Alexey Skobkin 2016-12-12 21:35:59 +03:00
parent 54da4c454c
commit 97dc750e08

View file

@ -3,7 +3,6 @@
namespace Skobkin\Bundle\PointToolsBundle\Service; namespace Skobkin\Bundle\PointToolsBundle\Service;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityRepository; use Doctrine\ORM\EntityRepository;
use Guzzle\Http\Exception\ClientErrorResponseException; use Guzzle\Http\Exception\ClientErrorResponseException;
use Guzzle\Service\Client; use Guzzle\Service\Client;
@ -38,7 +37,7 @@ class UserApi extends AbstractApi
protected $userRepository; protected $userRepository;
public function __construct(Client $httpClient, $https = true, $baseUrl = null, EntityManagerInterface $entityManager) public function __construct(Client $httpClient, $https = true, $baseUrl = null, EntityManager $entityManager)
{ {
parent::__construct($httpClient, $https, $baseUrl); parent::__construct($httpClient, $https, $baseUrl);