Skip to content

Commit

Permalink
Lintエラー解消
Browse files Browse the repository at this point in the history
  • Loading branch information
1000-x-t30 committed Nov 21, 2024
1 parent 5a02f48 commit d089b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/POST/GoogleTranslate/CreateEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected function addToTranslationUnits($units, $googleTranslate)
protected function getTranslationUnits(&$units, $googleTranslate)
{
foreach ($units as $i => & $unit) {
if(is_array($unit)) {
if (is_array($unit)) {
$type = detectUnitTypeSpecifier($unit['type']);
switch ($type) {
case 'text':
Expand Down

0 comments on commit d089b38

Please sign in to comment.