Skip to content

Commit 73dda5d

Browse files
php-cs-fixer fix src
1 parent 94476c0 commit 73dda5d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Manager/ElasticsearchSnapshotManager.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ public function getByNameAndRepository(string $name, string $repository): ?Elast
2222

2323
if (Response::HTTP_NOT_FOUND == $callResponse->getCode()) {
2424
$snapshotModel = null;
25-
2625
} elseif (true === isset($content['snapshots']) && 0 === count($content['snapshots'])) {
2726
$snapshotModel = null;
28-
2927
} elseif (true === isset($content['responses']) && true === isset($snapshot['responses'][0]['error']['type']) && 'repository_exception' == $content['responses'][0]['error']['type']) {
3028
throw new CallException($content['responses'][0]['error']['reason']);
31-
3229
} elseif (true === isset($content['responses']) && true === isset($snapshot['responses'][0]['error']['type']) && 'snapshot_missing_exception' == $content['responses'][0]['error']['type']) {
3330
$snapshotModel = null;
34-
3531
} else {
3632
if (true === isset($content['responses'])) {
3733
$snapshot = $content['responses'][0]['snapshots'][0];

0 commit comments

Comments
 (0)