diff --git a/translations/translationtool/src/translationtool.php b/translations/translationtool/src/translationtool.php index d6a74bb..4aeca53 100644 --- a/translations/translationtool/src/translationtool.php +++ b/translations/translationtool/src/translationtool.php @@ -206,7 +206,7 @@ private function escape(string $string): string { return Gettext\Generators\Po::convertString($string); } - private function hasExtension(string $fileName, string $extensions): bool { + private function hasExtension(string $fileName, array $extensions): bool { foreach ($extensions as $ext) { if (substr($fileName, -strlen($ext)) === $ext) { return true; diff --git a/translations/translationtool/translationtool.phar b/translations/translationtool/translationtool.phar index 8fd3500..04cb934 100755 Binary files a/translations/translationtool/translationtool.phar and b/translations/translationtool/translationtool.phar differ