diff --git a/src/crafting/TagWildcardRecipeIngredient.php b/src/crafting/TagWildcardRecipeIngredient.php index 7ac261f08..32bcf08e1 100644 --- a/src/crafting/TagWildcardRecipeIngredient.php +++ b/src/crafting/TagWildcardRecipeIngredient.php @@ -52,4 +52,4 @@ final class TagWildcardRecipeIngredient implements RecipeIngredient{ public function __toString() : string{ return "TagWildcardRecipeIngredient($this->tagName)"; } -} \ No newline at end of file +} diff --git a/src/data/bedrock/ItemTagToIdMap.php b/src/data/bedrock/ItemTagToIdMap.php index a5fb7952c..fa5b24e7a 100644 --- a/src/data/bedrock/ItemTagToIdMap.php +++ b/src/data/bedrock/ItemTagToIdMap.php @@ -28,6 +28,12 @@ use pocketmine\utils\AssumptionFailedError; use pocketmine\utils\SingletonTrait; use pocketmine\utils\Utils; use Symfony\Component\Filesystem\Path; +use function array_keys; +use function file_get_contents; +use function gettype; +use function is_array; +use function is_string; +use function json_decode; use const pocketmine\BEDROCK_DATA_PATH; /** @@ -99,4 +105,4 @@ final class ItemTagToIdMap{ public function addIdToTag(string $tag, string $id) : void{ $this->tagToIdsMap[$tag][$id] = true; } -} \ No newline at end of file +}