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 @@