From 02c955ec2af0876838ec746cff61aeade45e8dc9 Mon Sep 17 00:00:00 2001 From: Jochen Sengier Date: Wed, 27 Nov 2024 13:06:45 +0100 Subject: [PATCH] Update Translatable.php --- src/Translatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Translatable.php b/src/Translatable.php index 18df5d8..797828d 100644 --- a/src/Translatable.php +++ b/src/Translatable.php @@ -22,7 +22,7 @@ class Translatable public function fallback( ?string $fallbackLocale = null, ?bool $fallbackAny = false, - $missingKeyCallback = null + ?Closure $missingKeyCallback = null ): self { $this->fallbackLocale = $fallbackLocale; $this->fallbackAny = $fallbackAny;