From 27a2d060833639ccadc0bd150809b4711db51d02 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 10 Aug 2021 14:53:03 +0100 Subject: [PATCH] Fix CS --- build/generate-known-translation-apis.php | 3 +-- src/lang/KnownTranslationFactory.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build/generate-known-translation-apis.php b/build/generate-known-translation-apis.php index fd24072c0..4c61a1605 100644 --- a/build/generate-known-translation-apis.php +++ b/build/generate-known-translation-apis.php @@ -120,7 +120,7 @@ function generate_known_translation_factory(array $languageDefinitions) : void{ echo SHARED_HEADER; echo <<<'HEADER' /** - * This class contains factory methods for all the translations known to PocketMine-MP as per the used version of + * This class contains factory methods for all the translations known to PocketMine-MP as per the used version of * pmmp/Language. * This class is generated automatically, do NOT modify it by hand. */ @@ -167,7 +167,6 @@ HEADER; echo "Done generating KnownTranslationFactory.\n"; } - $lang = parse_ini_file(Path::join(\pocketmine\RESOURCE_PATH, "locale", "eng.ini"), false, INI_SCANNER_RAW); if($lang === false){ fwrite(STDERR, "Missing language files!\n"); diff --git a/src/lang/KnownTranslationFactory.php b/src/lang/KnownTranslationFactory.php index 77f2ca201..78c301a3e 100644 --- a/src/lang/KnownTranslationFactory.php +++ b/src/lang/KnownTranslationFactory.php @@ -24,7 +24,7 @@ declare(strict_types=1); namespace pocketmine\lang; /** - * This class contains factory methods for all the translations known to PocketMine-MP as per the used version of + * This class contains factory methods for all the translations known to PocketMine-MP as per the used version of * pmmp/Language. * This class is generated automatically, do NOT modify it by hand. */