Skip to content

Commit 8deb3f5

Browse files
authored
Merge pull request #11 from ahilles107/patch-1
Return from apply and supports ParamConverter methods
2 parents c22732c + da7bae1 commit 8deb3f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Request/ParamConverter/ResolveEntityParamConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(array $mapping, ManagerRegistry $registry = null)
5151
*/
5252
public function apply(Request $request, ParamConverter $configuration)
5353
{
54-
parent::apply($request, $this->resolveTargetEntity($configuration));
54+
return parent::apply($request, $this->resolveTargetEntity($configuration));
5555
}
5656

5757
/**
@@ -63,7 +63,7 @@ public function supports(ParamConverter $configuration)
6363
return false;
6464
}
6565

66-
parent::supports($this->resolveTargetEntity($configuration));
66+
return parent::supports($this->resolveTargetEntity($configuration));
6767
}
6868

6969
/**

0 commit comments

Comments
 (0)