From b137908bfbeb5d0ba21bea9f9408d96ed6c9d1c0 Mon Sep 17 00:00:00 2001 From: Pavel Date: Wed, 26 Jun 2019 11:21:40 +0300 Subject: [PATCH] Removed void return assertion (PHP 7.0 support) --- src/Bot/Model/Entity/Bot.php | 6 +++--- src/Bot/Model/Entity/Channel/Channel.php | 6 +++--- src/Bot/Model/Entity/Chat/Chat.php | 6 +++--- src/Bot/Model/Entity/Chat/ChatMember.php | 6 +++--- src/Bot/Model/Entity/Command.php | 6 +++--- src/Bot/Model/Entity/Customer.php | 6 +++--- src/Bot/Model/Entity/Dialog.php | 6 +++--- src/Bot/Model/Entity/Message/Message.php | 6 +++--- src/Bot/Model/Entity/User.php | 6 +++--- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/Bot/Model/Entity/Bot.php b/src/Bot/Model/Entity/Bot.php index fcd029f..c80dad0 100644 --- a/src/Bot/Model/Entity/Bot.php +++ b/src/Bot/Model/Entity/Bot.php @@ -147,7 +147,7 @@ class Bot /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -163,7 +163,7 @@ class Bot /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -179,7 +179,7 @@ class Bot /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Channel/Channel.php b/src/Bot/Model/Entity/Channel/Channel.php index 716a488..b08159a 100644 --- a/src/Bot/Model/Entity/Channel/Channel.php +++ b/src/Bot/Model/Entity/Channel/Channel.php @@ -112,7 +112,7 @@ class Channel /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -128,7 +128,7 @@ class Channel /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -144,7 +144,7 @@ class Channel /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Chat/Chat.php b/src/Bot/Model/Entity/Chat/Chat.php index dd628e5..c55469d 100644 --- a/src/Bot/Model/Entity/Chat/Chat.php +++ b/src/Bot/Model/Entity/Chat/Chat.php @@ -131,7 +131,7 @@ class Chat /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -147,7 +147,7 @@ class Chat /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -163,7 +163,7 @@ class Chat /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Chat/ChatMember.php b/src/Bot/Model/Entity/Chat/ChatMember.php index 3d71d91..36509f3 100644 --- a/src/Bot/Model/Entity/Chat/ChatMember.php +++ b/src/Bot/Model/Entity/Chat/ChatMember.php @@ -101,7 +101,7 @@ class ChatMember /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -117,7 +117,7 @@ class ChatMember /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -133,7 +133,7 @@ class ChatMember /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Command.php b/src/Bot/Model/Entity/Command.php index 7a2624a..da08a77 100644 --- a/src/Bot/Model/Entity/Command.php +++ b/src/Bot/Model/Entity/Command.php @@ -83,7 +83,7 @@ class Command /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -99,7 +99,7 @@ class Command /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -115,7 +115,7 @@ class Command /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Customer.php b/src/Bot/Model/Entity/Customer.php index 65560f4..66d72bb 100644 --- a/src/Bot/Model/Entity/Customer.php +++ b/src/Bot/Model/Entity/Customer.php @@ -186,7 +186,7 @@ class Customer /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -202,7 +202,7 @@ class Customer /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -218,7 +218,7 @@ class Customer /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Dialog.php b/src/Bot/Model/Entity/Dialog.php index c4cc98e..b155404 100644 --- a/src/Bot/Model/Entity/Dialog.php +++ b/src/Bot/Model/Entity/Dialog.php @@ -137,7 +137,7 @@ class Dialog /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -153,7 +153,7 @@ class Dialog /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -169,7 +169,7 @@ class Dialog /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/Message/Message.php b/src/Bot/Model/Entity/Message/Message.php index 3fd5408..8776d69 100644 --- a/src/Bot/Model/Entity/Message/Message.php +++ b/src/Bot/Model/Entity/Message/Message.php @@ -220,7 +220,7 @@ class Message /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -236,7 +236,7 @@ class Message /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -252,7 +252,7 @@ class Message /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; } diff --git a/src/Bot/Model/Entity/User.php b/src/Bot/Model/Entity/User.php index f590450..af8809c 100644 --- a/src/Bot/Model/Entity/User.php +++ b/src/Bot/Model/Entity/User.php @@ -160,7 +160,7 @@ class User /** * @param string $id */ - public function setId(string $id): void + public function setId(string $id) { $this->id = $id; } @@ -176,7 +176,7 @@ class User /** * @param \DateTime $createdAt */ - public function setCreatedAt(\DateTime $createdAt): void + public function setCreatedAt(\DateTime $createdAt) { $this->createdAt = $createdAt; } @@ -192,7 +192,7 @@ class User /** * @param \DateTime $updatedAt */ - public function setUpdatedAt(\DateTime $updatedAt): void + public function setUpdatedAt(\DateTime $updatedAt) { $this->updatedAt = $updatedAt; }