Skip to content

Commit 56351e8

Browse files
committed
Leverage non-capturing catches
1 parent 913e3f7 commit 56351e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/RoundRobinTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function send(MessageInterface $message): SentMessage
7171
while ($transport = $this->getNextTransport($message)) {
7272
try {
7373
return $transport->send($message);
74-
} catch (TransportExceptionInterface $e) {
74+
} catch (TransportExceptionInterface) {
7575
$this->deadTransports[$transport] = microtime(true);
7676
}
7777
}

0 commit comments

Comments
 (0)