forked from GNUsocial/gnu-social
[AUTOGENERATED] Update autogenerated code
This commit is contained in:
parent
17ea4ecce1
commit
495e66f4ae
@ -45,10 +45,10 @@ class ForeignLink
|
||||
private int $noticesync = 1;
|
||||
private int $friendsync = 2;
|
||||
private int $profilesync = 1;
|
||||
private ?DateTimeInterface $last_noticesync;
|
||||
private ?DateTimeInterface $last_friendsync;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private ?\DateTimeInterface $last_noticesync;
|
||||
private ?\DateTimeInterface $last_friendsync;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setUserId(int $user_id): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class ForeignService
|
||||
private int $id;
|
||||
private string $name;
|
||||
private ?string $description;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class ForeignSubscription
|
||||
private int $service;
|
||||
private int $subscriber;
|
||||
private int $subscribed;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setService(int $service): self
|
||||
{
|
||||
|
@ -42,8 +42,8 @@ class ForeignUser
|
||||
private int $service;
|
||||
private string $uri;
|
||||
private ?string $nickname;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -33,6 +33,7 @@
|
||||
namespace Plugin\Embed\Entity;
|
||||
|
||||
use App\Core\Entity;
|
||||
use DateTimeInterface;
|
||||
|
||||
/**
|
||||
* Table Definition for attachment_embed
|
||||
@ -55,7 +56,7 @@ class AttachmentEmbed extends Entity
|
||||
private ?string $author_name;
|
||||
private ?string $author_url;
|
||||
private ?string $url;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setAttachmentId(int $attachment_id): self
|
||||
{
|
||||
|
@ -27,8 +27,8 @@ class Favourite extends Entity
|
||||
// {{{ Autocode
|
||||
private int $note_id;
|
||||
private int $gsactor_id;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setNoteId(int $note_id): self
|
||||
{
|
||||
|
@ -44,8 +44,8 @@ class Poll extends Entity
|
||||
private int $note_id;
|
||||
private ?string $question;
|
||||
private ?string $options;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -43,8 +43,8 @@ class PollResponse extends Entity
|
||||
private int $poll_id;
|
||||
private ?int $gsactor_id;
|
||||
private ?int $selection;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -45,7 +45,7 @@ class Activity extends Entity
|
||||
private int $object_id;
|
||||
private bool $is_local;
|
||||
private ?string $source;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ class Attachment extends Entity
|
||||
private ?bool $is_local;
|
||||
private ?int $source;
|
||||
private ?int $scope;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ class AttachmentThumbnail extends Entity
|
||||
private int $attachment_id;
|
||||
private int $width;
|
||||
private int $height;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setAttachmentId(int $attachment_id): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class AttachmentToNote extends Entity
|
||||
// {{{ Autocode
|
||||
private int $attachment_id;
|
||||
private int $note_id;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setAttachmentId(int $attachment_id): self
|
||||
{
|
||||
|
@ -46,8 +46,8 @@ class Avatar extends Entity
|
||||
// {{{ Autocode
|
||||
private int $gsactor_id;
|
||||
private int $attachment_id;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
|
@ -44,9 +44,9 @@ class ConfirmAddress extends Entity
|
||||
private string $address;
|
||||
private ?string $address_extra;
|
||||
private string $address_type;
|
||||
private ?DateTimeInterface $claimed;
|
||||
private DateTimeInterface $sent;
|
||||
private DateTimeInterface $modified;
|
||||
private ?\DateTimeInterface $claimed;
|
||||
private \DateTimeInterface $sent;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setCode(string $code): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class Conversation extends Entity
|
||||
// {{{ Autocode
|
||||
private int $id;
|
||||
private int $note_id;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class Cover extends Entity
|
||||
// {{{ Autocode
|
||||
private int $gsactor_id;
|
||||
private int $file_id;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class Follow extends Entity
|
||||
// {{{ Autocode
|
||||
private int $follower;
|
||||
private int $followed;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setFollower(int $follower): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class FollowQueue extends Entity
|
||||
// {{{ Autocode
|
||||
private int $follower;
|
||||
private int $followed;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setFollower(int $follower): self
|
||||
{
|
||||
|
@ -57,8 +57,8 @@ class GSActor extends Entity
|
||||
private ?float $lon;
|
||||
private ?int $location_id;
|
||||
private ?int $location_service;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class GSActorBlock extends Entity
|
||||
// {{{ Autocode
|
||||
private int $blocker;
|
||||
private int $blocked;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setBlocker(int $blocker): self
|
||||
{
|
||||
|
@ -43,8 +43,8 @@ class GSActorCircle extends Entity
|
||||
private string $tag;
|
||||
private ?string $description;
|
||||
private ?bool $private;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setTagger(int $tagger): self
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ class GSActorTag extends Entity
|
||||
private int $tagger;
|
||||
private int $tagged;
|
||||
private string $tag;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setTagger(int $tagger): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class GSActorTagFollow extends Entity
|
||||
// {{{ Autocode
|
||||
private int $gsactor_id;
|
||||
private int $gsactor_tag;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
|
@ -55,8 +55,8 @@ class Group extends Entity
|
||||
private ?string $mainpage;
|
||||
private ?int $join_policy;
|
||||
private ?int $force_scope;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class GroupAlias extends Entity
|
||||
// {{{ Autocode
|
||||
private string $alias;
|
||||
private int $group_id;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setAlias(string $alias): self
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ class GroupBlock extends Entity
|
||||
private int $group_id;
|
||||
private int $blocked_gsactor;
|
||||
private int $blocker_user;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGroupId(int $group_id): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class GroupInbox extends Entity
|
||||
// {{{ Autocode
|
||||
private int $group_id;
|
||||
private int $activity_id;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setGroupId(int $group_id): self
|
||||
{
|
||||
|
@ -43,8 +43,8 @@ class GroupMember extends Entity
|
||||
private int $gsactor_id;
|
||||
private ?bool $is_admin;
|
||||
private ?string $uri;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGroupId(int $group_id): self
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ class Invitation extends Entity
|
||||
private string $address;
|
||||
private string $address_type;
|
||||
private ?int $registered_user_id;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setCode(string $code): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class LocalGroup extends Entity
|
||||
// {{{ Autocode
|
||||
private int $group_id;
|
||||
private ?string $nickname;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGroupId(int $group_id): self
|
||||
{
|
||||
|
@ -62,8 +62,8 @@ class LocalUser extends Entity implements UserInterface
|
||||
private ?bool $auto_follow_back;
|
||||
private ?int $follow_policy;
|
||||
private ?bool $is_stream_private;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -41,8 +41,8 @@ class LocationService extends Entity
|
||||
// {{{ Autocode
|
||||
private int $id;
|
||||
private ?string $description;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -51,8 +51,8 @@ class Note extends Entity
|
||||
private ?int $conversation;
|
||||
private ?int $repeat_of;
|
||||
private int $scope = 1;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ class NoteLocation extends Entity
|
||||
private ?float $lon;
|
||||
private ?int $location_id;
|
||||
private ?int $location_service;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setNoteId(int $note_id): self
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ class NoteSource extends Entity
|
||||
private string $code;
|
||||
private string $name;
|
||||
private string $url;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setCode(string $code): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class NoteTag extends Entity
|
||||
// {{{ Autocode
|
||||
private string $tag;
|
||||
private int $note_id;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setTag(string $tag): self
|
||||
{
|
||||
|
@ -42,8 +42,8 @@ class Notification extends Entity
|
||||
private int $activity_id;
|
||||
private int $gsactor_id;
|
||||
private ?string $reason;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setActivityId(int $activity_id): self
|
||||
{
|
||||
|
@ -39,8 +39,8 @@ class ProfileColor extends Entity
|
||||
// {{{ Autocode
|
||||
private int $gsactor_id;
|
||||
private string $color;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setGSActorId(int $gsactor_id): self
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class RelatedGroup extends Entity
|
||||
// {{{ Autocode
|
||||
private int $group_id;
|
||||
private int $related_group_id;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setGroupId(int $group_id): self
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ class RememberMeToken extends Entity
|
||||
// {{{ Autocode
|
||||
private string $series;
|
||||
private string $value;
|
||||
private DateTimeInterface $lastused;
|
||||
private \DateTimeInterface $lastused;
|
||||
private string $class;
|
||||
private string $username;
|
||||
|
||||
|
@ -40,7 +40,7 @@ class ReservedNickname extends Entity
|
||||
{
|
||||
// {{{ Autocode
|
||||
private string $nickname;
|
||||
private DateTimeInterface $created;
|
||||
private \DateTimeInterface $created;
|
||||
|
||||
public function setNickname(string $nickname): self
|
||||
{
|
||||
|
@ -42,8 +42,8 @@ class SmsCarrier extends Entity
|
||||
private int $id;
|
||||
private ?string $name;
|
||||
private string $email_pattern;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setId(int $id): self
|
||||
{
|
||||
|
@ -39,8 +39,8 @@ class UserLocationPrefs extends Entity
|
||||
// {{{ Autocode
|
||||
private int $user_id;
|
||||
private ?bool $share_location;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setUserId(int $user_id): self
|
||||
{
|
||||
|
@ -47,8 +47,8 @@ class UserNotificationPrefs extends Entity
|
||||
private bool $dm = true;
|
||||
private bool $post_on_status_change = false;
|
||||
private ?bool $enable_posting;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setUserId(int $user_id): self
|
||||
{
|
||||
|
@ -43,8 +43,8 @@ class UserUrlShortenerPrefs extends Entity
|
||||
private ?string $url_shortening_service;
|
||||
private int $max_url_length;
|
||||
private int $max_notice_length;
|
||||
private DateTimeInterface $created;
|
||||
private DateTimeInterface $modified;
|
||||
private \DateTimeInterface $created;
|
||||
private \DateTimeInterface $modified;
|
||||
|
||||
public function setUserId(int $user_id): self
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user