1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 04:35:12 +01:00

Applied fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-11-17 17:44:04 +00:00 committed by StyleCI Bot
parent 82dc195483
commit 83e9ff8de9

View File

@ -57,6 +57,7 @@ class TLMethod
public function find_by_method($method)
{
$key = array_search($method, $this->method);
return ($key === false) ? false : [
'id' => $this->id[$key],
'method' => $this->method[$key],