| @@ -78,6 +78,9 @@ | ||
| 78 | 78 | return $this->channel; | 
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | + /** | |
| 82 | + * @param EventInterface $event | |
| 83 | + */ | |
| 81 | 84 | private function createMessage($event): AMQPMessage | 
| 82 | 85 |      { | 
| 83 | 86 |          if (!$event instanceof \JsonSerializable) { | 
| @@ -78,6 +78,9 @@ | ||
| 78 | 78 | return $this->channel; | 
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | + /** | |
| 82 | + * @param EventInterface $event | |
| 83 | + */ | |
| 81 | 84 | private function createMessage($event): AMQPMessage | 
| 82 | 85 |      { | 
| 83 | 86 |          if (!$event instanceof \JsonSerializable) { | 
| @@ -21,7 +21,6 @@ | ||
| 21 | 21 | /** | 
| 22 | 22 | * FallbackToLegacyApiMiddleware constructor. | 
| 23 | 23 | * | 
| 24 | - * @param EndpointRepository $endpointRepository | |
| 25 | 24 | */ | 
| 26 | 25 | public function __construct(... $middlewares) | 
| 27 | 26 |      { | 
| @@ -10,10 +10,6 @@ | ||
| 10 | 10 | |
| 11 | 11 | namespace hiapi\commands; | 
| 12 | 12 | |
| 13 | -use hiqdev\DataMapper\Query\Specification; | |
| 14 | -use hiqdev\DataMapper\Repository\BaseRepository; | |
| 15 | -use hiqdev\DataMapper\Repository\EntityManagerInterface; | |
| 16 | - | |
| 17 | 13 | /** | 
| 18 | 14 | * Class GetInfoHandler | 
| 19 | 15 | * | 
| @@ -45,7 +45,7 @@ discard block | ||
| 45 | 45 | } | 
| 46 | 46 | |
| 47 | 47 | /** | 
| 48 | - * @param SearchCommand $command | |
| 48 | + * @param EntityCommandInterface $command | |
| 49 | 49 | */ | 
| 50 | 50 | public function handle(EntityCommandInterface $command) | 
| 51 | 51 |      { | 
| @@ -60,7 +60,7 @@ discard block | ||
| 60 | 60 | } | 
| 61 | 61 | |
| 62 | 62 | /** | 
| 63 | - * @param EntityCommandInterface|SearchCommand $command | |
| 63 | + * @param EntityCommandInterface $command | |
| 64 | 64 | * @return Specification | 
| 65 | 65 | */ | 
| 66 | 66 | protected function buildSpecification(EntityCommandInterface $command) | 
| @@ -84,7 +84,7 @@ discard block | ||
| 84 | 84 | } | 
| 85 | 85 | |
| 86 | 86 | /** | 
| 87 | - * @param SearchCommand $command | |
| 87 | + * @param EntityCommandInterface $command | |
| 88 | 88 | * @return RepositoryInterface | 
| 89 | 89 | */ | 
| 90 | 90 | protected function getRepository(EntityCommand $command) |