Apply fixes from StyleCI
This commit is contained in:
parent
c6f1642264
commit
87a22ed0bc
@ -132,8 +132,9 @@ class API extends APIFactory
|
||||
|
||||
public function __sleep()
|
||||
{
|
||||
return ["API"];
|
||||
return ['API'];
|
||||
}
|
||||
|
||||
public function __wakeup()
|
||||
{
|
||||
$this->APIFactory();
|
||||
|
@ -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'];
|
||||
|
@ -47,4 +47,3 @@ if (file_exists('token.php')) {
|
||||
var_dump($authorization);
|
||||
}
|
||||
echo 'Size of MadelineProto instance is '.strlen(serialize($unserialized)).' bytes'.PHP_EOL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user