fixed more indentations
This commit is contained in:
parent
acf8990de1
commit
f031591753
9 changed files with 148 additions and 148 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue