Skip to content

Commit

Permalink
Merge pull request #41 from Stichoza/scrutinizer-patch-2
Browse files Browse the repository at this point in the history
Scrutinizer Auto-Fixes
  • Loading branch information
Stichoza committed Jan 11, 2016
2 parents 1619b9d + 7b4ee99 commit d9a74ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -68,7 +68,7 @@ private function TL($a)
}
$a = fmod($a, pow(10, 6));

return $a.'.'.($a ^ $b);
return $a . '.' . ($a ^ $b);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Stichoza/GoogleTranslate/TranslateClient.php
Expand Up @@ -342,7 +342,7 @@ private function instanceTranslate($data)

return $carry;
} else {
return array_reduce($responseArray[0], function ($carry, $item) {
return array_reduce($responseArray[0], function($carry, $item) {
$carry .= $item[0];

return $carry;
Expand Down

0 comments on commit d9a74ef

Please sign in to comment.