Skip to content

Commit

Permalink
fix setter name
Browse files Browse the repository at this point in the history
  • Loading branch information
madmages committed Mar 27, 2020
1 parent 25fd152 commit a14fd3e
Show file tree
Hide file tree
Showing 91 changed files with 617 additions and 617 deletions.
18 changes: 9 additions & 9 deletions src/Type/Animation.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("file_id")
* @Accessor(getter="getFileId",setter="setfileId")
* @Accessor(getter="getFileId",setter="setFileId")
* @Type("string")
*/
protected $fileId;
Expand All @@ -80,7 +80,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("file_unique_id")
* @Accessor(getter="getFileUniqueId",setter="setfileUniqueId")
* @Accessor(getter="getFileUniqueId",setter="setFileUniqueId")
* @Type("string")
*/
protected $fileUniqueId;
Expand All @@ -90,7 +90,7 @@ public function _getRawData(): array
*
* @var int
* @SerializedName("width")
* @Accessor(getter="getWidth",setter="setwidth")
* @Accessor(getter="getWidth",setter="setWidth")
* @Type("int")
*/
protected $width;
Expand All @@ -100,7 +100,7 @@ public function _getRawData(): array
*
* @var int
* @SerializedName("height")
* @Accessor(getter="getHeight",setter="setheight")
* @Accessor(getter="getHeight",setter="setHeight")
* @Type("int")
*/
protected $height;
Expand All @@ -110,7 +110,7 @@ public function _getRawData(): array
*
* @var int
* @SerializedName("duration")
* @Accessor(getter="getDuration",setter="setduration")
* @Accessor(getter="getDuration",setter="setDuration")
* @Type("int")
*/
protected $duration;
Expand All @@ -121,7 +121,7 @@ public function _getRawData(): array
* @var PhotoSize|null
* @SkipWhenEmpty
* @SerializedName("thumb")
* @Accessor(getter="getThumb",setter="setthumb")
* @Accessor(getter="getThumb",setter="setThumb")
* @Type("MadmagesTelegram\Types\Type\PhotoSize")
*/
protected $thumb;
Expand All @@ -132,7 +132,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("file_name")
* @Accessor(getter="getFileName",setter="setfileName")
* @Accessor(getter="getFileName",setter="setFileName")
* @Type("string")
*/
protected $fileName;
Expand All @@ -143,7 +143,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("mime_type")
* @Accessor(getter="getMimeType",setter="setmimeType")
* @Accessor(getter="getMimeType",setter="setMimeType")
* @Type("string")
*/
protected $mimeType;
Expand All @@ -154,7 +154,7 @@ public function _getRawData(): array
* @var int|null
* @SkipWhenEmpty
* @SerializedName("file_size")
* @Accessor(getter="getFileSize",setter="setfileSize")
* @Accessor(getter="getFileSize",setter="setFileSize")
* @Type("int")
*/
protected $fileSize;
Expand Down
16 changes: 8 additions & 8 deletions src/Type/Audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("file_id")
* @Accessor(getter="getFileId",setter="setfileId")
* @Accessor(getter="getFileId",setter="setFileId")
* @Type("string")
*/
protected $fileId;
Expand All @@ -78,7 +78,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("file_unique_id")
* @Accessor(getter="getFileUniqueId",setter="setfileUniqueId")
* @Accessor(getter="getFileUniqueId",setter="setFileUniqueId")
* @Type("string")
*/
protected $fileUniqueId;
Expand All @@ -88,7 +88,7 @@ public function _getRawData(): array
*
* @var int
* @SerializedName("duration")
* @Accessor(getter="getDuration",setter="setduration")
* @Accessor(getter="getDuration",setter="setDuration")
* @Type("int")
*/
protected $duration;
Expand All @@ -99,7 +99,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("performer")
* @Accessor(getter="getPerformer",setter="setperformer")
* @Accessor(getter="getPerformer",setter="setPerformer")
* @Type("string")
*/
protected $performer;
Expand All @@ -110,7 +110,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("title")
* @Accessor(getter="getTitle",setter="settitle")
* @Accessor(getter="getTitle",setter="setTitle")
* @Type("string")
*/
protected $title;
Expand All @@ -121,7 +121,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("mime_type")
* @Accessor(getter="getMimeType",setter="setmimeType")
* @Accessor(getter="getMimeType",setter="setMimeType")
* @Type("string")
*/
protected $mimeType;
Expand All @@ -132,7 +132,7 @@ public function _getRawData(): array
* @var int|null
* @SkipWhenEmpty
* @SerializedName("file_size")
* @Accessor(getter="getFileSize",setter="setfileSize")
* @Accessor(getter="getFileSize",setter="setFileSize")
* @Type("int")
*/
protected $fileSize;
Expand All @@ -143,7 +143,7 @@ public function _getRawData(): array
* @var PhotoSize|null
* @SkipWhenEmpty
* @SerializedName("thumb")
* @Accessor(getter="getThumb",setter="setthumb")
* @Accessor(getter="getThumb",setter="setThumb")
* @Type("MadmagesTelegram\Types\Type\PhotoSize")
*/
protected $thumb;
Expand Down
14 changes: 7 additions & 7 deletions src/Type/CallbackQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("id")
* @Accessor(getter="getId",setter="setid")
* @Accessor(getter="getId",setter="setId")
* @Type("string")
*/
protected $id;
Expand All @@ -78,7 +78,7 @@ public function _getRawData(): array
*
* @var User
* @SerializedName("from")
* @Accessor(getter="getFrom",setter="setfrom")
* @Accessor(getter="getFrom",setter="setFrom")
* @Type("MadmagesTelegram\Types\Type\User")
*/
protected $from;
Expand All @@ -89,7 +89,7 @@ public function _getRawData(): array
* @var Message|null
* @SkipWhenEmpty
* @SerializedName("message")
* @Accessor(getter="getMessage",setter="setmessage")
* @Accessor(getter="getMessage",setter="setMessage")
* @Type("MadmagesTelegram\Types\Type\Message")
*/
protected $message;
Expand All @@ -100,7 +100,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("inline_message_id")
* @Accessor(getter="getInlineMessageId",setter="setinlineMessageId")
* @Accessor(getter="getInlineMessageId",setter="setInlineMessageId")
* @Type("string")
*/
protected $inlineMessageId;
Expand All @@ -110,7 +110,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("chat_instance")
* @Accessor(getter="getChatInstance",setter="setchatInstance")
* @Accessor(getter="getChatInstance",setter="setChatInstance")
* @Type("string")
*/
protected $chatInstance;
Expand All @@ -121,7 +121,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("data")
* @Accessor(getter="getData",setter="setdata")
* @Accessor(getter="getData",setter="setData")
* @Type("string")
*/
protected $data;
Expand All @@ -132,7 +132,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("game_short_name")
* @Accessor(getter="getGameShortName",setter="setgameShortName")
* @Accessor(getter="getGameShortName",setter="setGameShortName")
* @Type("string")
*/
protected $gameShortName;
Expand Down
28 changes: 14 additions & 14 deletions src/Type/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function _getRawData(): array
*
* @var int
* @SerializedName("id")
* @Accessor(getter="getId",setter="setid")
* @Accessor(getter="getId",setter="setId")
* @Type("int")
*/
protected $id;
Expand All @@ -90,7 +90,7 @@ public function _getRawData(): array
*
* @var string
* @SerializedName("type")
* @Accessor(getter="getType",setter="settype")
* @Accessor(getter="getType",setter="setType")
* @Type("string")
*/
protected $type;
Expand All @@ -101,7 +101,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("title")
* @Accessor(getter="getTitle",setter="settitle")
* @Accessor(getter="getTitle",setter="setTitle")
* @Type("string")
*/
protected $title;
Expand All @@ -112,7 +112,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("username")
* @Accessor(getter="getUsername",setter="setusername")
* @Accessor(getter="getUsername",setter="setUsername")
* @Type("string")
*/
protected $username;
Expand All @@ -123,7 +123,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("first_name")
* @Accessor(getter="getFirstName",setter="setfirstName")
* @Accessor(getter="getFirstName",setter="setFirstName")
* @Type("string")
*/
protected $firstName;
Expand All @@ -134,7 +134,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("last_name")
* @Accessor(getter="getLastName",setter="setlastName")
* @Accessor(getter="getLastName",setter="setLastName")
* @Type("string")
*/
protected $lastName;
Expand All @@ -145,7 +145,7 @@ public function _getRawData(): array
* @var ChatPhoto|null
* @SkipWhenEmpty
* @SerializedName("photo")
* @Accessor(getter="getPhoto",setter="setphoto")
* @Accessor(getter="getPhoto",setter="setPhoto")
* @Type("MadmagesTelegram\Types\Type\ChatPhoto")
*/
protected $photo;
Expand All @@ -156,7 +156,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("description")
* @Accessor(getter="getDescription",setter="setdescription")
* @Accessor(getter="getDescription",setter="setDescription")
* @Type("string")
*/
protected $description;
Expand All @@ -167,7 +167,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("invite_link")
* @Accessor(getter="getInviteLink",setter="setinviteLink")
* @Accessor(getter="getInviteLink",setter="setInviteLink")
* @Type("string")
*/
protected $inviteLink;
Expand All @@ -178,7 +178,7 @@ public function _getRawData(): array
* @var Message|null
* @SkipWhenEmpty
* @SerializedName("pinned_message")
* @Accessor(getter="getPinnedMessage",setter="setpinnedMessage")
* @Accessor(getter="getPinnedMessage",setter="setPinnedMessage")
* @Type("MadmagesTelegram\Types\Type\Message")
*/
protected $pinnedMessage;
Expand All @@ -189,7 +189,7 @@ public function _getRawData(): array
* @var ChatPermissions|null
* @SkipWhenEmpty
* @SerializedName("permissions")
* @Accessor(getter="getPermissions",setter="setpermissions")
* @Accessor(getter="getPermissions",setter="setPermissions")
* @Type("MadmagesTelegram\Types\Type\ChatPermissions")
*/
protected $permissions;
Expand All @@ -200,7 +200,7 @@ public function _getRawData(): array
* @var int|null
* @SkipWhenEmpty
* @SerializedName("slow_mode_delay")
* @Accessor(getter="getSlowModeDelay",setter="setslowModeDelay")
* @Accessor(getter="getSlowModeDelay",setter="setSlowModeDelay")
* @Type("int")
*/
protected $slowModeDelay;
Expand All @@ -211,7 +211,7 @@ public function _getRawData(): array
* @var string|null
* @SkipWhenEmpty
* @SerializedName("sticker_set_name")
* @Accessor(getter="getStickerSetName",setter="setstickerSetName")
* @Accessor(getter="getStickerSetName",setter="setStickerSetName")
* @Type("string")
*/
protected $stickerSetName;
Expand All @@ -222,7 +222,7 @@ public function _getRawData(): array
* @var bool|null
* @SkipWhenEmpty
* @SerializedName("can_set_sticker_set")
* @Accessor(getter="getCanSetStickerSet",setter="setcanSetStickerSet")
* @Accessor(getter="getCanSetStickerSet",setter="setCanSetStickerSet")
* @Type("bool")
*/
protected $canSetStickerSet;
Expand Down
Loading

0 comments on commit a14fd3e

Please sign in to comment.