fixed more indentations

This commit is contained in:
Jonathan Treffler 2025-07-02 14:46:05 +02:00
parent acf8990de1
commit f031591753
9 changed files with 148 additions and 148 deletions

View file

@ -5,12 +5,12 @@ namespace OCA\GroupfolderFilesystemSnapshots\Entity;
use JsonSerializable;
class Snapshot implements JsonSerializable {
public function __construct(
public function __construct(
private string $id,
private string $name,
private ?\DateTimeImmutable $createdTimestamp = null,
) {
}
}
public function getId(): string {
return $this->id;
@ -24,7 +24,7 @@ class Snapshot implements JsonSerializable {
return $this->createdTimestamp;
}
public function jsonSerialize(): mixed {
public function jsonSerialize(): mixed {
return [
'id' => $this->id,
'name' => $this->name,