Skip to content

Commit d1c1344

Browse files
committed
Use non-capturing catch statement
1 parent 883a2ee commit d1c1344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/UnifiedSpecTests/ManagesFailPointsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function disableFailPoints(): void
3535
try {
3636
$operation = new DatabaseCommand('admin', ['configureFailPoint' => $failPoint, 'mode' => 'off']);
3737
$operation->execute($server);
38-
} catch (ConnectionException $e) {
38+
} catch (ConnectionException) {
3939
// Retry once in case the connection was dropped by the last operation
4040
$operation = new DatabaseCommand('admin', ['configureFailPoint' => $failPoint, 'mode' => 'off']);
4141
$operation->execute($server);

0 commit comments

Comments
 (0)