From 5360b77f06484cfa75839d83a763d8176c6da758 Mon Sep 17 00:00:00 2001 From: HimmelKreis4865 <51092444+HimmelKreis4865@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:09:00 +0100 Subject: [PATCH] cs style fixes --- src/item/ArmorTrimPattern.php | 4 ---- src/network/mcpe/handler/ItemStackRequestExecutor.php | 1 - 2 files changed, 5 deletions(-) diff --git a/src/item/ArmorTrimPattern.php b/src/item/ArmorTrimPattern.php index 26cb99afbcd..57a623594a5 100644 --- a/src/item/ArmorTrimPattern.php +++ b/src/item/ArmorTrimPattern.php @@ -23,10 +23,6 @@ namespace pocketmine\item; -use function str_ends_with; -use function strlen; -use function substr; - enum ArmorTrimPattern : string{ case COAST = "coast"; diff --git a/src/network/mcpe/handler/ItemStackRequestExecutor.php b/src/network/mcpe/handler/ItemStackRequestExecutor.php index ab3e1d92c0a..9a6c3013d8e 100644 --- a/src/network/mcpe/handler/ItemStackRequestExecutor.php +++ b/src/network/mcpe/handler/ItemStackRequestExecutor.php @@ -55,7 +55,6 @@ use pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponse; use pocketmine\network\mcpe\protocol\types\inventory\UIInventorySlotOffset; use pocketmine\player\Player; -use pocketmine\Server; use pocketmine\utils\AssumptionFailedError; use function array_key_first; use function count;