update lang

This commit is contained in:
Dennis Eichhorn 2022-12-16 20:30:21 +01:00
parent 058ffcc4e3
commit d237bb35f3
2 changed files with 17 additions and 6 deletions

View File

@ -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,
];
}

View File

@ -1,4 +1,15 @@
<?php
/**
* Karaka
*
* PHP Version 8.1
*
* @package Modules\OnlineResourceWatcher
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://karaka.app
*/
declare(strict_types=1);
return [[