@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | if ($this->debug === true) { |
| 106 | 106 | $this->translation = "<font style='color:#00CC00;'>Loaded correclty from you DB</font>"; |
| 107 | 107 | } else { |
| 108 | - $this->translation = $existing[0]->translation; |
|
| 108 | + $this->translation = $existing[ 0 ]->translation; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | return true; |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | return; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | - $available_transoltors = ['apertium', 'mymemory']; |
|
| 153 | + $available_transoltors = [ 'apertium', 'mymemory' ]; |
|
| 154 | 154 | |
| 155 | 155 | // Checks available translators. |
| 156 | 156 | |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | $words = explode(' ', $transObtained); |
| 263 | 263 | foreach ($words as $word) { |
| 264 | 264 | if ($word != '') { |
| 265 | - if ($word[0] == '*') { |
|
| 265 | + if ($word[ 0 ] == '*') { |
|
| 266 | 266 | $errors = $errors.substr($word, 1).', '; |
| 267 | 267 | } |
| 268 | 268 | } |