From d089b388af7987536378e15e344b90cdf9a6744e Mon Sep 17 00:00:00 2001 From: nagatomi Date: Thu, 21 Nov 2024 20:40:57 +0900 Subject: [PATCH] =?UTF-8?q?Lint=E3=82=A8=E3=83=A9=E3=83=BC=E8=A7=A3?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/POST/GoogleTranslate/CreateEntry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/POST/GoogleTranslate/CreateEntry.php b/src/POST/GoogleTranslate/CreateEntry.php index b4199c31..69a24475 100644 --- a/src/POST/GoogleTranslate/CreateEntry.php +++ b/src/POST/GoogleTranslate/CreateEntry.php @@ -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':