Skip to content

Commit 6651ef4

Browse files
committed
Fix php CS
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 parent 1201ec5 commit 6651ef4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

lib/Service/PackService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ private function packChunkExtract(string $zipName, string &$type = ''): string {
945945
if ($zip->count() === 1 && $zip->getFromName(self::CHUNK_ENTRY) !== false) {
946946
$type = self::CHUNK_ENTRY;
947947
$read = $zip->getStream(self::CHUNK_ENTRY);
948-
} else if ($zip->count() === 1 && $zip->getFromName(self::GZ_CHUNK_ENTRY) !== false) {
948+
} elseif ($zip->count() === 1 && $zip->getFromName(self::GZ_CHUNK_ENTRY) !== false) {
949949
$type = self::GZ_CHUNK_ENTRY;
950950
$read = $zip->getStream(self::GZ_CHUNK_ENTRY);
951951
} else {
@@ -982,7 +982,6 @@ private function confirmUnpackedChunkContent(string $zipName, string $type): voi
982982
}
983983

984984
if ($type === self::GZ_CHUNK_ENTRY) {
985-
986985
}
987986
}
988987

lib/Service/PointService.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ public function create(bool $complete): RestoringPoint {
277277

278278
$this->activityService->newActivity(
279279
'backup_create', [
280-
'id' => $point->getId(),
281-
'duration' => $point->getDuration(),
282-
'status' => $point->getStatus(),
283-
'complete' => $complete
284-
]
280+
'id' => $point->getId(),
281+
'duration' => $point->getDuration(),
282+
'status' => $point->getStatus(),
283+
'complete' => $complete
284+
]
285285
);
286286

287287
return $point;

0 commit comments

Comments
 (0)