@@ -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 | * |
@@ -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) { |
@@ -63,6 +63,9 @@ |
||
| 63 | 63 | ]); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string $path |
|
| 68 | + */ |
|
| 66 | 69 | public static function requestHiam($path, $data) |
| 67 | 70 | { |
| 68 | 71 | $scheme = 'https'; |
@@ -2,11 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace hiapi\models; |
| 4 | 4 | |
| 5 | -use hiqdev\yii\DataMapper\query\Specification; |
|
| 6 | -use hiqdev\yii\DataMapper\repositories\EntityNotFoundException; |
|
| 7 | 5 | use yii\base\Model; |
| 8 | -use yii\db\Expression; |
|
| 9 | -use yii\db\Query; |
|
| 10 | 6 | use yii\helpers\Json; |
| 11 | 7 | use yii\web\IdentityInterface; |
| 12 | 8 | |