Cleanup
This commit is contained in:
@@ -6,7 +6,7 @@ use Exception;
|
||||
use PDO;
|
||||
use DateTime;
|
||||
use Khofmann\Database\Database;
|
||||
use Config\Config;
|
||||
use Khofmann\Config\Config;
|
||||
use JsonSerializable;
|
||||
use Khofmann\ApiError\ApiError;
|
||||
use Khofmann\GUID\GUID;
|
||||
@@ -23,7 +23,7 @@ class User implements JsonSerializable
|
||||
private DateTime $memberSince;
|
||||
private int $postCount;
|
||||
|
||||
protected function __construct(int $id, string $username, int $status, string $email, string $timestamp, ?string $image, bool $isAdmin, int $postCount)
|
||||
private function __construct(int $id, string $username, int $status, string $email, string $timestamp, ?string $image, bool $isAdmin, int $postCount)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->username = $username;
|
||||
|
||||
Reference in New Issue
Block a user