mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 08:34:41 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
662b156589
commit
0a74d1e5b7
@ -27,7 +27,9 @@ class RPCErrorException extends \Exception
|
||||
case 'USERNAME_INVALID': $message = 'The provided username is not valid';
|
||||
}
|
||||
parent::__construct($message, $code, $previous);
|
||||
if (in_array($message, ['The provided username is not valid'])) return;
|
||||
if (in_array($message, ['The provided username is not valid'])) {
|
||||
return;
|
||||
}
|
||||
\Rollbar\Rollbar::log($this);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user