Skip to content

Commit

Permalink
Fix default value of detected source
Browse files Browse the repository at this point in the history
  • Loading branch information
Stichoza committed Jun 2, 2015
1 parent 1c40823 commit b494139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stichoza/GoogleTranslate/TranslateClient.php
Expand Up @@ -270,7 +270,7 @@ private function instanceTranslate($string)
}

// Set initial detected language to null
$this::$lastDetectedSource = null;
$this::$lastDetectedSource = false;

// Iterate and set last detected language
foreach ($detectedLanguages as $lang) {
Expand Down

0 comments on commit b494139

Please sign in to comment.