Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-01 13:07:45 +00:00 committed by StyleCI Bot
parent ae8955d705
commit b717ff554d

View File

@ -119,7 +119,7 @@ class Lua
return $this->Lua->{$name}(...$params);
} catch (\danog\MadelineProto\RPCErrorException $e) {
return ['error_code' => $e->getCode(), 'error' => $e->getMessage()];
} catch (\danog\MadelineProto\Exception $e){
} catch (\danog\MadelineProto\Exception $e) {
return ['error_code' => $e->getCode(), 'error' => $e->getMessage()];
}
}