Completed
Push — master ( 882cbc...a9ee6a )
by
unknown
15:23
created
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/commands/GetInfoHandler.php 2 patches
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.
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\DataMapper\Query\Specification;
14
-use hiqdev\DataMapper\Repository\BaseRepository;
15
-use hiqdev\DataMapper\Repository\EntityManagerInterface;
16
-
17 13
 /**
18 14
  * Class GetInfoHandler
19 15
  *
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.
src/commands/SearchHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-     * @param SearchCommand $command
48
+     * @param EntityCommandInterface $command
49 49
      */
50 50
     public function handle(EntityCommandInterface $command)
51 51
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param EntityCommandInterface|SearchCommand $command
63
+     * @param EntityCommandInterface $command
64 64
      * @return Specification
65 65
      */
66 66
     protected function buildSpecification(EntityCommandInterface $command)
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-     * @param SearchCommand $command
87
+     * @param EntityCommandInterface $command
88 88
      * @return RepositoryInterface
89 89
      */
90 90
     protected function getRepository(EntityCommand $command)
Please login to merge, or discard this patch.