Completed
Pull Request — master (#6)
by Aitor Riba
13:40
created
src/Translation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         }
110 110
 
111 111
 
112
-        $available_transoltors = ['apertium', 'mymemory'];
112
+        $available_transoltors = [ 'apertium', 'mymemory' ];
113 113
 
114 114
         // Checks available translators.
115 115
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
                  $words = explode(' ', $transObtained);
173 173
                  foreach ($words as $word) {
174 174
                      if ($word != '') {
175
-                         if ($word[0] == '*') {
175
+                         if ($word[ 0 ] == '*') {
176 176
                              $errors = $errors.substr($word, 1).', ';
177 177
                          }
178 178
                      }
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
                 $words = explode(' ', $transObtained);
241 241
                 foreach ($words as $word) {
242 242
                     if ($word != '') {
243
-                        if ($word[0] == '*') {
243
+                        if ($word[ 0 ] == '*') {
244 244
                             $errors = $errors.substr($word, 1).', ';
245 245
                         }
246 246
                     }
Please login to merge, or discard this patch.