@@ -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) { |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | return $this->getRepository($command)->findOneOrFail($this->buildSpecification($command)); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @return Specification |
|
| 31 | + */ |
|
| 29 | 32 | protected function buildSpecification(EntityCommandInterface $command) |
| 30 | 33 | { |
| 31 | 34 | return $this->createSpecification()->where(['id' => $command->id])->limit(1); |
@@ -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 | { |