From d237bb35f3858913dc5aeb650a0e1f2108aa02c7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 16 Dec 2022 20:30:21 +0100 Subject: [PATCH] update lang --- Models/Resource.php | 12 ++++++------ Theme/Backend/Lang/en.lang.php | 11 +++++++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/Models/Resource.php b/Models/Resource.php index a550c4b..f60879a 100644 --- a/Models/Resource.php +++ b/Models/Resource.php @@ -144,9 +144,9 @@ class Resource implements \JsonSerializable */ public function __construct() { - $this->owner = new NullAccount(); - $this->organization = new NullAccount(); - $this->createdAt = new \DateTimeImmutable('now'); + $this->owner = new NullAccount(); + $this->organization = new NullAccount(); + $this->createdAt = new \DateTimeImmutable('now'); } /** @@ -167,9 +167,9 @@ class Resource implements \JsonSerializable public function toArray() : array { return [ - 'id' => $this->id, - 'createdAt' => $this->createdAt, - 'owner' => $this->owner, + 'id' => $this->id, + 'createdAt' => $this->createdAt, + 'owner' => $this->owner, ]; } diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index a7f685b..6ee0cb4 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -1,4 +1,15 @@