Completed
Push — master ( 792d8b...363657 )
by Aitor Riba
04:04 queued 01:39
created
src/Translation.php 1 patch
Spacing   +2 added lines, -2 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
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                 $words = explode(' ', $transObtained);
220 220
                 foreach ($words as $word) {
221 221
                     if ($word != '') {
222
-                        if ($word[0] == '*') {
222
+                        if ($word[ 0 ] == '*') {
223 223
                             $errors = $errors.substr($word, 1).', ';
224 224
                         }
225 225
                     }
Please login to merge, or discard this patch.