Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-08-28 10:45:11 +00:00 committed by StyleCI Bot
parent d69a27867f
commit 52eaa053a8

View File

@ -171,13 +171,15 @@ description: '.$description.'
if (!isset($this->settings['td'])) {
$example .= '### Can bots use this method: **'.($bot ? 'YES' : 'NO')."**\n\n\n";
if (isset($errors['result'][$data['method']])) {
$example .= '### Errors this method can return:
$example .= '### Errors this method can return:
| Error | Description |
|----------|---------------|
';
foreach ($errors['result'][$data['method']] as $error) { $example .= '|'.$error.'|'.$errors['human_result'][$error][0].'|'; }
$example .= "\n\n";
foreach ($errors['result'][$data['method']] as $error) {
$example .= '|'.$error.'|'.$errors['human_result'][$error][0].'|';
}
$example .= "\n\n";
}
$example .= str_replace('[]', '', '### Example: