From 0c648da0d0395bbbfc77290518811fb425ce3041 Mon Sep 17 00:00:00 2001 From: Len Woodward Date: Wed, 7 May 2025 17:54:14 -0700 Subject: [PATCH] fix implicit nullable deprecation --- src/TwillImage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TwillImage.php b/src/TwillImage.php index 6cad7bb..8f0da07 100644 --- a/src/TwillImage.php +++ b/src/TwillImage.php @@ -17,7 +17,7 @@ class TwillImage * @param Media|null $media * @return TwillImageModel */ - public function make($object, string $role, Media $media = null): TwillImageModel + public function make($object, string $role, ?Media $media = null): TwillImageModel { return new TwillImageModel($object, $role, $media); }