Completed
Push — master ( 6109b1...e5acc2 )
by Levan
13s queued 10s
created
src/GoogleTranslate.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,9 @@
 block discarded – undo
224 224
          * if source lang and target lang are the same
225 225
          * just return the string without any request to google
226 226
          */
227
-        if ($this->source == $this->target) return $string;
227
+        if ($this->source == $this->target) {
228
+         return $string;
229
+        }
228 230
         
229 231
         $responseArray = $this->getResponse($string);
230 232
 
Please login to merge, or discard this patch.