Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-12-30 20:21:55 +00:00 committed by StyleCI Bot
parent bfc665ace0
commit b3d75b106c
2 changed files with 1 additions and 2 deletions

View File

@ -481,7 +481,6 @@ description: A 512 bit signed integer
A 512 bit signed integer represented in little-endian base256 (`string`) format.'); A 512 bit signed integer represented in little-endian base256 (`string`) format.');
file_put_contents('types/double.md', '--- file_put_contents('types/double.md', '---
title: double title: double
description: A double precision floating point number description: A double precision floating point number
@ -545,5 +544,4 @@ description: Represents a boolean.
Represents a boolean.'); Represents a boolean.');
\danog\MadelineProto\Logger::log('Done!'); \danog\MadelineProto\Logger::log('Done!');

View File

@ -189,6 +189,7 @@ trait UpdateHandler
if (!isset($this->channels_state[$channel_id])) { if (!isset($this->channels_state[$channel_id])) {
if (!isset($update['pts'])) { if (!isset($update['pts'])) {
\danog\MadelineProto\Logger::log('I do not have the channel in the states'); \danog\MadelineProto\Logger::log('I do not have the channel in the states');
return false; return false;
} }
} }