@@ -10,10 +10,6 @@  | 
                                                    ||
| 10 | 10 | |
| 11 | 11 | namespace hiapi\commands;  | 
                                                        
| 12 | 12 | |
| 13 | -use hiqdev\yii\DataMapper\components\EntityManagerInterface;  | 
                                                        |
| 14 | -use hiqdev\yii\DataMapper\query\Specification;  | 
                                                        |
| 15 | -use hiqdev\yii\DataMapper\repositories\BaseRepository;  | 
                                                        |
| 16 | -  | 
                                                        |
| 17 | 13 | /**  | 
                                                        
| 18 | 14 | * Class GetInfoHandler  | 
                                                        
| 19 | 15 | *  | 
                                                        
@@ -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);  | 
                                                        
@@ -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) { |