Skip to content

Commit 9d47244

Browse files
author
Marcel Hauri
committed
load GuzzleHttp\Client not as DI to avoid issues in production mode
1 parent c55fa41 commit 9d47244

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Model/MessageManagement.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,15 @@ class MessageManagement implements MessageManagementInterface
2929
/**
3030
* Message constructor.
3131
* @param Queue $queue
32-
* @param Client $client
3332
* @param Config $config
3433
* @internal param Queue $queue
3534
*/
3635
public function __construct(
3736
Queue $queue,
38-
Client $client,
3937
Config $config
4038
) {
4139
$this->queue = $queue;
42-
$this->client = $client;
40+
$this->client = new Client([]);
4341
$this->config = $config;
4442
}
4543

0 commit comments

Comments
 (0)