Skip to content

Commit

Permalink
Fixed incorrect type-hint in ProxyDomainMapper classes
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Feb 25, 2020
1 parent da0f7c2 commit 6d75327
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class ProxyDomainMapper implements ProxyDomainMapperInterface
/** @var \ProxyManager\Factory\LazyLoadingValueHolderFactory */
private $proxyGenerator;

public function __construct(Repository $repository, ProxyGenerator $proxyGenerator)
public function __construct(Repository $repository, ProxyGeneratorInterface $proxyGenerator)
{
$this->repository = $repository;
$this->proxyGenerator = $proxyGenerator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*/
final class ProxyDomainMapperFactory implements ProxyDomainMapperFactoryInterface
{
/** @var \eZ\Publish\Core\Repository\ProxyFactory\ProxyGenerator */
/** @var \eZ\Publish\Core\Repository\ProxyFactory\ProxyGeneratorInterface */
private $proxyGenerator;

public function __construct(ProxyGenerator $proxyGenerator)
public function __construct(ProxyGeneratorInterface $proxyGenerator)
{
$this->proxyGenerator = $proxyGenerator;
}
Expand Down

0 comments on commit 6d75327

Please sign in to comment.