Оказывается time(-1) = time().
This commit is contained in:
@@ -395,8 +395,9 @@ class ChatMessage
|
||||
{
|
||||
$params = json_decode($json, true);
|
||||
foreach ($params as $param => $value) {
|
||||
if (property_exists($this, $param)) {
|
||||
$this->$param = $value;
|
||||
$method = 'set' . ucfirst($param);
|
||||
if (method_exists(self::class, $method)) {
|
||||
$this->$method($value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user