phpOMS/Account/NullAccount.php
2023-06-17 03:13:39 +02:00

35 lines
555 B
PHP
Executable File

<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace phpOMS\Account;
/**
* Null account class.
*
* @package phpOMS\Account
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
final class NullAccount extends Account
{
/**
* {@inheritdoc}
*/
public function jsonSerialize() : mixed
{
return ['id' => $this->id];
}
}