1
0
mirror of synced 2025-01-31 08:31:41 +03:00

Removed void return assertion (PHP 7.0 support)

This commit is contained in:
Pavel 2019-06-26 11:21:40 +03:00
parent 34812dd1bd
commit b137908bfb
9 changed files with 27 additions and 27 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}