Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-11-25 20:53:18 +00:00 committed by StyleCI Bot
parent c6f1642264
commit 87a22ed0bc
3 changed files with 2 additions and 3 deletions

View File

@ -132,8 +132,9 @@ class API extends APIFactory
public function __sleep()
{
return ["API"];
return ['API'];
}
public function __wakeup()
{
$this->APIFactory();

View File

@ -20,7 +20,6 @@ class TLConstructor extends TLParams
public $params = [];
public $key = 0;
public function add($json_dict, $mtproto)
{
$this->id[$this->key] = (int) $json_dict['id'];

View File

@ -47,4 +47,3 @@ if (file_exists('token.php')) {
var_dump($authorization);
}
echo 'Size of MadelineProto instance is '.strlen(serialize($unserialized)).' bytes'.PHP_EOL;