8000 Remove useless calls to resolve · symfony/symfony@da28d22 · GitHub
[go: up one dir, main page]

Skip to content

Commit da28d22

Browse files
committed
Remove useless calls to resolve
1 parent de779a0 commit da28d22

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport

1 file changed

+2
-2
lines changed

src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function setup(): void
241241
$parameters['FifoQueue'] = true;
242242
}
243243

244-
$this->client->createQueue($parameters)->resolve();
244+
$this->client->createQueue($parameters);
245245
$exists = $this->client->queueExists(['QueueName' => $this->configuration['queue_name']]);
246246
// Blocking call to wait for the queue to be created
247247
$exists->wait();
@@ -256,7 +256,7 @@ public function delete(string $id): void
256256
$this->client->deleteMessage([
257257
'QueueUrl' => $this->getQueueUrl(),
258258
'ReceiptHandle' => $id,
259-
])->resolve();
259+
]);
260260
}
261261

262262
public function getMessageCount(): int
31CE

0 commit comments

Comments
 (0)
0