@@ -31,7 +31,6 @@ |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | - * @param VirtualHost $virtualHost |
|
35 | 34 | */ |
36 | 35 | public function __construct(User $user) |
37 | 36 | { |
@@ -9,8 +9,6 @@ |
||
9 | 9 | namespace mcorten87\rabbitmq_api\jobs; |
10 | 10 | |
11 | 11 | |
12 | -use mcorten87\rabbitmq_api\objects\Password; |
|
13 | -use mcorten87\rabbitmq_api\objects\QueueName; |
|
14 | 12 | use mcorten87\rabbitmq_api\objects\User; |
15 | 13 | use mcorten87\rabbitmq_api\objects\VirtualHost; |
16 | 14 |
@@ -61,7 +61,7 @@ |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
64 | - * @param QueueArgument[] $arguments |
|
64 | + * @param QueueArgument[] $newArgument |
|
65 | 65 | */ |
66 | 66 | public function addArgument(QueueArgument $newArgument) |
67 | 67 | { |
@@ -2,10 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace mcorten87\rabbitmq_api\jobs; |
4 | 4 | |
5 | -use mcorten87\rabbitmq_api\objects\Password; |
|
6 | 5 | use mcorten87\rabbitmq_api\objects\QueueArgument; |
7 | 6 | use mcorten87\rabbitmq_api\objects\QueueName; |
8 | -use mcorten87\rabbitmq_api\objects\User; |
|
9 | 7 | use mcorten87\rabbitmq_api\objects\VirtualHost; |
10 | 8 | |
11 | 9 | class JobQueueCreate extends JobBase |
@@ -17,9 +17,6 @@ |
||
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 | { |
@@ -3,13 +3,11 @@ |
||
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 | { |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use mcorten87\rabbitmq_api\jobs\JobVirtualHostCreate; |
21 | 21 | use mcorten87\rabbitmq_api\jobs\JobVirtualHostDelete; |
22 | 22 | use mcorten87\rabbitmq_api\jobs\JobVirtualHostList; |
23 | -use mcorten87\rabbitmq_api\jobs\JobVirtualHostsList; |
|
24 | 23 | use mcorten87\rabbitmq_api\mappers\BaseMapper; |
25 | 24 | use mcorten87\rabbitmq_api\mappers\JobVirtualHostCreateMapper; |
26 | 25 | use mcorten87\rabbitmq_api\objects\JobResult; |
@@ -175,7 +175,7 @@ |
||
175 | 175 | } |
176 | 176 | |
177 | 177 | /** |
178 | - * @param $response |
|
178 | + * @param \Psr\Http\Message\ResponseInterface $response |
|
179 | 179 | * @return JobResult |
180 | 180 | */ |
181 | 181 | public function getJobResult($response) : JobResult { |
@@ -6,7 +6,6 @@ |
||
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 | { |