1 | <?php |
||
25 | final class RaLocationService |
||
26 | { |
||
27 | /** |
||
28 | * @var RaLocationRepository |
||
29 | */ |
||
30 | private $repository; |
||
31 | |||
32 | public function __construct(RaLocationRepository $repository) |
||
36 | |||
37 | public function search(RaLocationQuery $query) |
||
41 | |||
42 | public function findByRaLocationId(RaLocationId $raLocationId) |
||
46 | } |
||
47 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.