Completed
Push — master ( 3ccf79...5da8f0 )
by Andrii
10:14
created
src/commands/GetInfoHandler.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,6 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/event/PublishToExchangeListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/event/PublishToQueueListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/models/HiamUserIdentity.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.