Completed
Push — master ( c432ac...8e117f )
by Mathijs
04:01
created
src/mappers/JobUserDeleteMapper.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use mcorten87\rabbitmq_api\jobs\JobBase;
7
-use mcorten87\rabbitmq_api\jobs\JobQueueCreate;
8 7
 use mcorten87\rabbitmq_api\jobs\JobUserCreate;
9 8
 use mcorten87\rabbitmq_api\objects\Method;
10 9
 use mcorten87\rabbitmq_api\objects\Url;
11
-use mcorten87\rabbitmq_api\services\MqManagementConfig;
12 10
 
13 11
 class JobUserDeleteMapper extends BaseMapper
14 12
 {
Please login to merge, or discard this patch.
src/mappers/JobUserListMapper.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,9 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use mcorten87\rabbitmq_api\jobs\JobBase;
7
-use mcorten87\rabbitmq_api\jobs\JobQueueList;
8 7
 use mcorten87\rabbitmq_api\jobs\JobUserList;
9
-use mcorten87\rabbitmq_api\jobs\JobVirtualHostCreate;
10
-use mcorten87\rabbitmq_api\objects\MapResult;
11 8
 use mcorten87\rabbitmq_api\objects\Method;
12 9
 use mcorten87\rabbitmq_api\objects\Url;
13
-use mcorten87\rabbitmq_api\services\MqManagementConfig;
14 10
 
15 11
 class JobUserListMapper  extends BaseMapper
16 12
 {
Please login to merge, or discard this patch.
src/mappers/JobVirtualHostCreateMapper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use mcorten87\rabbitmq_api\jobs\JobBase;
7 7
 use mcorten87\rabbitmq_api\objects\Method;
8 8
 use mcorten87\rabbitmq_api\objects\Url;
9
-use mcorten87\rabbitmq_api\services\MqManagementConfig;
10 9
 
11 10
 class JobVirtualHostCreateMapper extends BaseMapper
12 11
 {
Please login to merge, or discard this patch.
src/mappers/JobVirtualHostDeleteMapper.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use mcorten87\rabbitmq_api\jobs\JobBase;
7
-use mcorten87\rabbitmq_api\jobs\JobVirtualHostCreate;
8
-use mcorten87\rabbitmq_api\objects\MapResult;
9 7
 use mcorten87\rabbitmq_api\objects\Method;
10 8
 use mcorten87\rabbitmq_api\objects\Url;
11
-use mcorten87\rabbitmq_api\services\MqManagementConfig;
12 9
 
13 10
 class JobVirtualHostDeleteMapper extends BaseMapper
14 11
 {
Please login to merge, or discard this patch.
src/mappers/JobVirtualHostListMapper.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use mcorten87\rabbitmq_api\jobs\JobBase;
7
-use mcorten87\rabbitmq_api\jobs\JobVirtualHostCreate;
8
-use mcorten87\rabbitmq_api\objects\MapResult;
9 7
 use mcorten87\rabbitmq_api\objects\Method;
10 8
 use mcorten87\rabbitmq_api\objects\Url;
11
-use mcorten87\rabbitmq_api\services\MqManagementConfig;
12 9
 
13 10
 /**
14 11
  * Lists details about a given virtual host
Please login to merge, or discard this patch.
src/MqManagementFactory.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -175,6 +175,9 @@  discard block
 block discarded – undo
175 175
         ;
176 176
     }
177 177
 
178
+    /**
179
+     * @param \Psr\Http\Message\ResponseInterface $response
180
+     */
178 181
     public function getJobResult($response) : JobResult {
179 182
         /** @var JobResult */
180 183
         $result = $this->container->get(self::JOB_RESULT);
@@ -183,7 +186,6 @@  discard block
 block discarded – undo
183 186
     }
184 187
 
185 188
     /**
186
-     * @param VirtualHost $vhost
187 189
      * @return JobVirtualHostList
188 190
      */
189 191
     public function getJobListVirtualHost(VirtualHost $virtualHost = null) : JobVirtualHostList {
@@ -193,7 +195,6 @@  discard block
 block discarded – undo
193 195
     }
194 196
 
195 197
     /**
196
-     * @param VirtualHost $vhost
197 198
      * @return JobVirtualHostCreate
198 199
      */
199 200
     public function getJobCreateVirtualHost(VirtualHost $virtualHost) : JobVirtualHostCreate {
Please login to merge, or discard this patch.
src/services/MqManagermentService.php 2 patches
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -17,9 +17,6 @@
 block discarded – undo
17 17
      * MqManagermentService constructor.
18 18
      *
19 19
      * @param MqManagementFactory $factory
20
-     * @param Host $host
21
-     * @param User $user
22
-     * @param Password $password
23 20
      */
24 21
     public function __construct(MqManagementFactory $factory, MqManagementConfig $config)
25 22
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace mcorten87\rabbitmq_api\services;
4 4
 
5 5
 
6
-use mcorten87\rabbitmq_api\jobs\JobVirtualHostCreate;
7 6
 use mcorten87\rabbitmq_api\MqManagementConfig;
8 7
 use mcorten87\rabbitmq_api\MqManagementFactory;
9 8
 use mcorten87\rabbitmq_api\objects\Host;
10 9
 use mcorten87\rabbitmq_api\objects\Password;
11 10
 use mcorten87\rabbitmq_api\objects\User;
12
-use mcorten87\rabbitmq_api\objects\VirtualHost;
13 11
 
14 12
 class MqManagermentService
15 13
 {
Please login to merge, or discard this patch.