Completed
Push — master ( 32f082...893399 )
by Dmitry
12:23
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/Http/Psr15/Middleware/RelayMiddleware.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
     /**
22 22
      * FallbackToLegacyApiMiddleware constructor.
23 23
      *
24
-     * @param EndpointRepository $endpointRepository
25 24
      */
26 25
     public function __construct(... $middlewares)
27 26
     {
Please login to merge, or discard this patch.