1
0
mirror of synced 2024-11-22 11:56:03 +03:00

[fix] make all getters nullable

This commit is contained in:
Pavel 2019-10-08 09:12:36 +03:00
parent 6594182fb0
commit 49045777d3
19 changed files with 134 additions and 134 deletions

View File

@ -138,7 +138,7 @@ class Bot implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getId(): string public function getId(): ?string
{ {
return $this->id; return $this->id;
} }
@ -154,7 +154,7 @@ class Bot implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -170,7 +170,7 @@ class Bot implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -186,7 +186,7 @@ class Bot implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }
@ -202,7 +202,7 @@ class Bot implements ModelInterface
/** /**
* @return array * @return array
*/ */
public function getEvents(): array public function getEvents(): ?array
{ {
return $this->events; return $this->events;
} }
@ -218,7 +218,7 @@ class Bot implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getClientId(): string public function getClientId(): ?string
{ {
return $this->clientId; return $this->clientId;
} }
@ -234,7 +234,7 @@ class Bot implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getAvatarUrl(): string public function getAvatarUrl(): ?string
{ {
return $this->avatarUrl; return $this->avatarUrl;
} }
@ -250,7 +250,7 @@ class Bot implements ModelInterface
/** /**
* @return array * @return array
*/ */
public function getRoles(): array public function getRoles(): ?array
{ {
return $this->roles; return $this->roles;
} }
@ -266,7 +266,7 @@ class Bot implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getDeactivatedAt(): string public function getDeactivatedAt(): ?string
{ {
return $this->deactivatedAt; return $this->deactivatedAt;
} }
@ -282,7 +282,7 @@ class Bot implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isActive(): bool public function isActive(): ?bool
{ {
return $this->isActive; return $this->isActive;
} }
@ -298,7 +298,7 @@ class Bot implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isSelf(): bool public function isSelf(): ?bool
{ {
return $this->isSelf; return $this->isSelf;
} }
@ -314,7 +314,7 @@ class Bot implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isSystem(): bool public function isSystem(): ?bool
{ {
return $this->isSystem; return $this->isSystem;
} }

View File

@ -103,7 +103,7 @@ class Channel implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getId(): string public function getId(): ?string
{ {
return $this->id; return $this->id;
} }
@ -119,7 +119,7 @@ class Channel implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): DateTime public function getCreatedAt(): ?DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -135,7 +135,7 @@ class Channel implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): DateTime public function getUpdatedAt(): ?DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -151,7 +151,7 @@ class Channel implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getActivatedAt(): DateTime public function getActivatedAt(): ?DateTime
{ {
return $this->activatedAt; return $this->activatedAt;
} }
@ -167,7 +167,7 @@ class Channel implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getDeactivatedAt(): DateTime public function getDeactivatedAt(): ?DateTime
{ {
return $this->deactivatedAt; return $this->deactivatedAt;
} }
@ -183,7 +183,7 @@ class Channel implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isActive(): bool public function isActive(): ?bool
{ {
return $this->isActive; return $this->isActive;
} }
@ -199,7 +199,7 @@ class Channel implements ModelInterface
/** /**
* @return ChannelSettings * @return ChannelSettings
*/ */
public function getSettings(): ChannelSettings public function getSettings(): ?ChannelSettings
{ {
return $this->settings; return $this->settings;
} }
@ -215,7 +215,7 @@ class Channel implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getType(): string public function getType(): ?string
{ {
return $this->type; return $this->type;
} }
@ -231,7 +231,7 @@ class Channel implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }

View File

@ -92,7 +92,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return ChannelSettingsStatus * @return ChannelSettingsStatus
*/ */
public function getStatus(): ChannelSettingsStatus public function getStatus(): ?ChannelSettingsStatus
{ {
return $this->status; return $this->status;
} }
@ -108,7 +108,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isSpamAllowed(): bool public function isSpamAllowed(): ?bool
{ {
return $this->spamAllowed; return $this->spamAllowed;
} }
@ -124,7 +124,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return ChannelSettingsItem * @return ChannelSettingsItem
*/ */
public function getText(): ChannelSettingsItem public function getText(): ?ChannelSettingsItem
{ {
return $this->text; return $this->text;
} }
@ -140,7 +140,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return ChannelSettingsItem * @return ChannelSettingsItem
*/ */
public function getProduct(): ChannelSettingsItem public function getProduct(): ?ChannelSettingsItem
{ {
return $this->product; return $this->product;
} }
@ -156,7 +156,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return ChannelSettingsItem * @return ChannelSettingsItem
*/ */
public function getOrder(): ChannelSettingsItem public function getOrder(): ?ChannelSettingsItem
{ {
return $this->order; return $this->order;
} }
@ -172,7 +172,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return ChannelSettingsItem * @return ChannelSettingsItem
*/ */
public function getImage(): ChannelSettingsItem public function getImage(): ?ChannelSettingsItem
{ {
return $this->image; return $this->image;
} }
@ -188,7 +188,7 @@ class ChannelSettings implements ModelInterface
/** /**
* @return ChannelSettingsItem * @return ChannelSettingsItem
*/ */
public function getFile(): ChannelSettingsItem public function getFile(): ?ChannelSettingsItem
{ {
return $this->file; return $this->file;
} }

View File

@ -103,7 +103,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getCreating(): string public function getCreating(): ?string
{ {
return $this->creating; return $this->creating;
} }
@ -119,7 +119,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getEditing(): string public function getEditing(): ?string
{ {
return $this->editing; return $this->editing;
} }
@ -135,7 +135,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getQuoting(): string public function getQuoting(): ?string
{ {
return $this->quoting; return $this->quoting;
} }
@ -151,7 +151,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getDeleting(): string public function getDeleting(): ?string
{ {
return $this->deleting; return $this->deleting;
} }
@ -167,7 +167,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getDelivered(): string public function getDelivered(): ?string
{ {
return $this->delivered; return $this->delivered;
} }
@ -183,7 +183,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getMaxCharsCount(): int public function getMaxCharsCount(): ?int
{ {
return $this->maxCharsCount; return $this->maxCharsCount;
} }
@ -199,7 +199,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getMaxItemsCount(): int public function getMaxItemsCount(): ?int
{ {
return $this->maxItemsCount; return $this->maxItemsCount;
} }
@ -215,7 +215,7 @@ class ChannelSettingsItem implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getNoteMaxCharsCount(): int public function getNoteMaxCharsCount(): ?int
{ {
return $this->noteMaxCharsCount; return $this->noteMaxCharsCount;
} }

View File

@ -49,7 +49,7 @@ class ChannelSettingsStatus implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getDelivered(): string public function getDelivered(): ?string
{ {
return $this->delivered; return $this->delivered;
} }
@ -65,7 +65,7 @@ class ChannelSettingsStatus implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getRead(): string public function getRead(): ?string
{ {
return $this->read; return $this->read;
} }

View File

@ -138,7 +138,7 @@ class Chat implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -154,7 +154,7 @@ class Chat implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -170,7 +170,7 @@ class Chat implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getAvatar(): string public function getAvatar(): ?string
{ {
return $this->avatar; return $this->avatar;
} }
@ -186,7 +186,7 @@ class Chat implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }
@ -202,7 +202,7 @@ class Chat implements ModelInterface
/** /**
* @return Channel * @return Channel
*/ */
public function getChannel(): Channel public function getChannel(): ?Channel
{ {
return $this->channel; return $this->channel;
} }
@ -218,7 +218,7 @@ class Chat implements ModelInterface
/** /**
* @return array * @return array
*/ */
public function getMembers(): array public function getMembers(): ?array
{ {
return $this->members; return $this->members;
} }
@ -234,7 +234,7 @@ class Chat implements ModelInterface
/** /**
* @return Customer * @return Customer
*/ */
public function getCustomer(): Customer public function getCustomer(): ?Customer
{ {
return $this->customer; return $this->customer;
} }
@ -250,7 +250,7 @@ class Chat implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getAuthorId(): int public function getAuthorId(): ?int
{ {
return $this->authorId; return $this->authorId;
} }
@ -266,7 +266,7 @@ class Chat implements ModelInterface
/** /**
* @return ChatLastMessage * @return ChatLastMessage
*/ */
public function getLastMessage(): ChatLastMessage public function getLastMessage(): ?ChatLastMessage
{ {
return $this->lastMessage; return $this->lastMessage;
} }
@ -282,7 +282,7 @@ class Chat implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getLastActivity(): \DateTime public function getLastActivity(): ?\DateTime
{ {
return $this->lastActivity; return $this->lastActivity;
} }

View File

@ -74,7 +74,7 @@ class ChatLastMessage implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getTime(): \DateTime public function getTime(): ?\DateTime
{ {
return $this->time; return $this->time;
} }
@ -90,7 +90,7 @@ class ChatLastMessage implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getType(): string public function getType(): ?string
{ {
return $this->type; return $this->type;
} }

View File

@ -108,7 +108,7 @@ class ChatMember implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -124,7 +124,7 @@ class ChatMember implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -140,7 +140,7 @@ class ChatMember implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getChatId(): int public function getChatId(): ?int
{ {
return $this->chatId; return $this->chatId;
} }
@ -156,7 +156,7 @@ class ChatMember implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getUserId(): int public function getUserId(): ?int
{ {
return $this->userId; return $this->userId;
} }
@ -172,7 +172,7 @@ class ChatMember implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isAuthor(): bool public function isAuthor(): ?bool
{ {
return $this->isAuthor; return $this->isAuthor;
} }
@ -188,7 +188,7 @@ class ChatMember implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getState(): string public function getState(): ?string
{ {
return $this->state; return $this->state;
} }

View File

@ -74,7 +74,7 @@ class Command implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getId(): string public function getId(): ?string
{ {
return $this->id; return $this->id;
} }
@ -90,7 +90,7 @@ class Command implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -106,7 +106,7 @@ class Command implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -122,7 +122,7 @@ class Command implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }
@ -138,7 +138,7 @@ class Command implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getDescription(): string public function getDescription(): ?string
{ {
return $this->description; return $this->description;
} }

View File

@ -176,7 +176,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getId(): string public function getId(): ?string
{ {
return $this->id; return $this->id;
} }
@ -192,7 +192,7 @@ class Customer implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -208,7 +208,7 @@ class Customer implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -224,7 +224,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getExternalId(): string public function getExternalId(): ?string
{ {
return $this->externalId; return $this->externalId;
} }
@ -240,7 +240,7 @@ class Customer implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getChannelId(): int public function getChannelId(): ?int
{ {
return $this->channelId; return $this->channelId;
} }
@ -256,7 +256,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getUsername(): string public function getUsername(): ?string
{ {
return $this->username; return $this->username;
} }
@ -272,7 +272,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getFirstName(): string public function getFirstName(): ?string
{ {
return $this->firstName; return $this->firstName;
} }
@ -288,7 +288,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getLastName(): string public function getLastName(): ?string
{ {
return $this->lastName; return $this->lastName;
} }
@ -304,7 +304,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getAvatarUrl(): string public function getAvatarUrl(): ?string
{ {
return $this->avatarUrl; return $this->avatarUrl;
} }
@ -320,7 +320,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getProfileUrl(): string public function getProfileUrl(): ?string
{ {
return $this->profileUrl; return $this->profileUrl;
} }
@ -336,7 +336,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getRevokedAt(): string public function getRevokedAt(): ?string
{ {
return $this->revokedAt; return $this->revokedAt;
} }
@ -352,7 +352,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getCountry(): string public function getCountry(): ?string
{ {
return $this->country; return $this->country;
} }
@ -368,7 +368,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getLanguage(): string public function getLanguage(): ?string
{ {
return $this->language; return $this->language;
} }
@ -384,7 +384,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getPhone(): string public function getPhone(): ?string
{ {
return $this->phone; return $this->phone;
} }
@ -400,7 +400,7 @@ class Customer implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getEmail(): string public function getEmail(): ?string
{ {
return $this->email; return $this->email;
} }

View File

@ -128,7 +128,7 @@ class Dialog implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getId(): string public function getId(): ?string
{ {
return $this->id; return $this->id;
} }
@ -144,7 +144,7 @@ class Dialog implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -160,7 +160,7 @@ class Dialog implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -176,7 +176,7 @@ class Dialog implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getBotId(): int public function getBotId(): ?int
{ {
return $this->botId; return $this->botId;
} }
@ -192,7 +192,7 @@ class Dialog implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getChatId(): int public function getChatId(): ?int
{ {
return $this->chatId; return $this->chatId;
} }
@ -208,7 +208,7 @@ class Dialog implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getBeginMessageId(): int public function getBeginMessageId(): ?int
{ {
return $this->beginMessageId; return $this->beginMessageId;
} }
@ -224,7 +224,7 @@ class Dialog implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getEndingMessageId(): int public function getEndingMessageId(): ?int
{ {
return $this->endingMessageId; return $this->endingMessageId;
} }
@ -240,7 +240,7 @@ class Dialog implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getClosedAt(): \DateTime public function getClosedAt(): ?\DateTime
{ {
return $this->closedAt; return $this->closedAt;
} }
@ -256,7 +256,7 @@ class Dialog implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isAssigned(): bool public function isAssigned(): ?bool
{ {
return $this->isAssigned; return $this->isAssigned;
} }
@ -272,7 +272,7 @@ class Dialog implements ModelInterface
/** /**
* @return Responsible * @return Responsible
*/ */
public function getResponsible(): Responsible public function getResponsible(): ?Responsible
{ {
return $this->responsible; return $this->responsible;
} }
@ -288,7 +288,7 @@ class Dialog implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isActive(): bool public function isActive(): ?bool
{ {
return $this->isActive; return $this->isActive;
} }

View File

@ -49,7 +49,7 @@ class FileMeta implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getHeight(): int public function getHeight(): ?int
{ {
return $this->height; return $this->height;
} }
@ -65,7 +65,7 @@ class FileMeta implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getWidth(): int public function getWidth(): ?int
{ {
return $this->width; return $this->width;
} }

View File

@ -74,7 +74,7 @@ class Item implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getSize(): int public function getSize(): ?int
{ {
return $this->size; return $this->size;
} }

View File

@ -227,7 +227,7 @@ class Message implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -243,7 +243,7 @@ class Message implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -275,7 +275,7 @@ class Message implements ModelInterface
/** /**
* @return array * @return array
*/ */
public function getItems(): array public function getItems(): ?array
{ {
return $this->items; return $this->items;
} }
@ -291,7 +291,7 @@ class Message implements ModelInterface
/** /**
* @return User * @return User
*/ */
public function getFrom(): User public function getFrom(): ?User
{ {
return $this->from; return $this->from;
} }
@ -307,7 +307,7 @@ class Message implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getTime(): \DateTime public function getTime(): ?\DateTime
{ {
return $this->time; return $this->time;
} }
@ -323,7 +323,7 @@ class Message implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getType(): string public function getType(): ?string
{ {
return $this->type; return $this->type;
} }
@ -339,7 +339,7 @@ class Message implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getScope(): string public function getScope(): ?string
{ {
return $this->scope; return $this->scope;
} }
@ -355,7 +355,7 @@ class Message implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getChatId(): int public function getChatId(): ?int
{ {
return $this->chatId; return $this->chatId;
} }
@ -371,7 +371,7 @@ class Message implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getContent(): string public function getContent(): ?string
{ {
return $this->content; return $this->content;
} }
@ -387,7 +387,7 @@ class Message implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isRead(): bool public function isRead(): ?bool
{ {
return $this->isRead; return $this->isRead;
} }
@ -403,7 +403,7 @@ class Message implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isEdit(): bool public function isEdit(): ?bool
{ {
return $this->isEdit; return $this->isEdit;
} }
@ -419,7 +419,7 @@ class Message implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getStatus(): string public function getStatus(): ?string
{ {
return $this->status; return $this->status;
} }
@ -435,7 +435,7 @@ class Message implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getAction(): string public function getAction(): ?string
{ {
return $this->action; return $this->action;
} }
@ -451,7 +451,7 @@ class Message implements ModelInterface
/** /**
* @return Dialog * @return Dialog
*/ */
public function getDialog(): Dialog public function getDialog(): ?Dialog
{ {
return $this->dialog; return $this->dialog;
} }
@ -467,7 +467,7 @@ class Message implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getChannelId(): int public function getChannelId(): ?int
{ {
return $this->channelId; return $this->channelId;
} }
@ -483,7 +483,7 @@ class Message implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getChannelSentAt(): \DateTime public function getChannelSentAt(): ?\DateTime
{ {
return $this->channelSentAt; return $this->channelSentAt;
} }
@ -499,7 +499,7 @@ class Message implements ModelInterface
/** /**
* @return MessageOrder * @return MessageOrder
*/ */
public function getOrder(): MessageOrder public function getOrder(): ?MessageOrder
{ {
return $this->order; return $this->order;
} }
@ -515,7 +515,7 @@ class Message implements ModelInterface
/** /**
* @return MessageProduct * @return MessageProduct
*/ */
public function getProduct(): MessageProduct public function getProduct(): ?MessageProduct
{ {
return $this->product; return $this->product;
} }

View File

@ -49,7 +49,7 @@ class MessageOrderPaymentStatus implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }
@ -65,7 +65,7 @@ class MessageOrderPaymentStatus implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function getPayed(): bool public function getPayed(): ?bool
{ {
return $this->payed; return $this->payed;
} }

View File

@ -110,7 +110,7 @@ class MessageProduct implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }
@ -126,7 +126,7 @@ class MessageProduct implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getArticle(): string public function getArticle(): ?string
{ {
return $this->article; return $this->article;
} }
@ -142,7 +142,7 @@ class MessageProduct implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getUrl(): string public function getUrl(): ?string
{ {
return $this->url; return $this->url;
} }
@ -158,7 +158,7 @@ class MessageProduct implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getImg(): string public function getImg(): ?string
{ {
return $this->img; return $this->img;
} }
@ -174,7 +174,7 @@ class MessageProduct implements ModelInterface
/** /**
* @return MessageCost * @return MessageCost
*/ */
public function getCost(): MessageCost public function getCost(): ?MessageCost
{ {
return $this->cost; return $this->cost;
} }
@ -190,7 +190,7 @@ class MessageProduct implements ModelInterface
/** /**
* @return MessageQuantity * @return MessageQuantity
*/ */
public function getQuantity(): MessageQuantity public function getQuantity(): ?MessageQuantity
{ {
return $this->quantity; return $this->quantity;
} }

View File

@ -49,7 +49,7 @@ class MessageStatus implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getCode(): string public function getCode(): ?string
{ {
return $this->code; return $this->code;
} }
@ -65,7 +65,7 @@ class MessageStatus implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }

View File

@ -58,7 +58,7 @@ class Responsible implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getAssignedAt(): string public function getAssignedAt(): ?string
{ {
return $this->assignedAt; return $this->assignedAt;
} }
@ -74,7 +74,7 @@ class Responsible implements ModelInterface
/** /**
* @return int * @return int
*/ */
public function getId(): int public function getId(): ?int
{ {
return $this->id; return $this->id;
} }
@ -90,7 +90,7 @@ class Responsible implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getType(): string public function getType(): ?string
{ {
return $this->type; return $this->type;
} }

View File

@ -151,7 +151,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getId(): string public function getId(): ?string
{ {
return $this->id; return $this->id;
} }
@ -167,7 +167,7 @@ class User implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getCreatedAt(): \DateTime public function getCreatedAt(): ?\DateTime
{ {
return $this->createdAt; return $this->createdAt;
} }
@ -183,7 +183,7 @@ class User implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getUpdatedAt(): \DateTime public function getUpdatedAt(): ?\DateTime
{ {
return $this->updatedAt; return $this->updatedAt;
} }
@ -199,7 +199,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getExternalId(): string public function getExternalId(): ?string
{ {
return $this->externalId; return $this->externalId;
} }
@ -215,7 +215,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getType(): string public function getType(): ?string
{ {
return $this->type; return $this->type;
} }
@ -231,7 +231,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getAvatar(): string public function getAvatar(): ?string
{ {
return $this->avatar; return $this->avatar;
} }
@ -247,7 +247,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getName(): string public function getName(): ?string
{ {
return $this->name; return $this->name;
} }
@ -263,7 +263,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getUsername(): string public function getUsername(): ?string
{ {
return $this->username; return $this->username;
} }
@ -279,7 +279,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getFirstName(): string public function getFirstName(): ?string
{ {
return $this->firstName; return $this->firstName;
} }
@ -295,7 +295,7 @@ class User implements ModelInterface
/** /**
* @return string * @return string
*/ */
public function getLastName(): string public function getLastName(): ?string
{ {
return $this->lastName; return $this->lastName;
} }
@ -311,7 +311,7 @@ class User implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isActive(): bool public function isActive(): ?bool
{ {
return $this->isActive; return $this->isActive;
} }
@ -327,7 +327,7 @@ class User implements ModelInterface
/** /**
* @return bool * @return bool
*/ */
public function isOnline(): bool public function isOnline(): ?bool
{ {
return $this->isOnline; return $this->isOnline;
} }
@ -343,7 +343,7 @@ class User implements ModelInterface
/** /**
* @return \DateTime * @return \DateTime
*/ */
public function getRevokedAt(): \DateTime public function getRevokedAt(): ?\DateTime
{ {
return $this->revokedAt; return $this->revokedAt;
} }