From 34fc60540c06fbc2cc135bdd6485d99d57fa5010 Mon Sep 17 00:00:00 2001 From: Akmal Fairuz <35138228+AkmalFairuz@users.noreply.github.com> Date: Mon, 18 Nov 2024 01:06:33 +0700 Subject: [PATCH] Fix: implicitly nullable parameter declarations deprecated --- src/types/skin/SkinData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/skin/SkinData.php b/src/types/skin/SkinData.php index e22add3f..da2d59c0 100644 --- a/src/types/skin/SkinData.php +++ b/src/types/skin/SkinData.php @@ -36,7 +36,7 @@ public function __construct( private string $resourcePatch, private SkinImage $skinImage, private array $animations = [], - SkinImage $capeImage = null, + ?SkinImage $capeImage = null, private string $geometryData = "", private string $geometryDataEngineVersion = ProtocolInfo::MINECRAFT_VERSION_NETWORK, private string $animationData = "",