mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
* Create StyleCI config file * Disable `phpdoc_separation` * Apply fixes from StyleCI (#3476) Co-authored-by: StyleCI Bot <bot@styleci.io> * style: styleci fixes --------- Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: Sam <samerton@users.noreply.github.com>
29 lines
789 B
PHP
29 lines
789 B
PHP
<?php
|
|
|
|
class IntegrationUserData
|
|
{
|
|
public int $id;
|
|
public int $integration_id;
|
|
public string $user_id;
|
|
public ?string $identifier;
|
|
public ?string $username;
|
|
public bool $verified;
|
|
public int $date;
|
|
public ?string $code;
|
|
public bool $show_publicly;
|
|
public int $last_sync;
|
|
|
|
public function __construct(object $row)
|
|
{
|
|
$this->id = $row->id;
|
|
$this->integration_id = $row->integration_id;
|
|
$this->user_id = $row->user_id;
|
|
$this->identifier = $row->identifier;
|
|
$this->username = $row->username;
|
|
$this->verified = $row->verified;
|
|
$this->date = $row->date;
|
|
$this->code = $row->code;
|
|
$this->show_publicly = $row->show_publicly;
|
|
$this->last_sync = $row->last_sync;
|
|
}
|
|
}
|