From c946d94915bd86167d61cb05823fec991eb51a08 Mon Sep 17 00:00:00 2001 From: l3aro Date: Mon, 9 Dec 2024 22:07:24 +0700 Subject: [PATCH] Correct nullable type (#177) --- src/TranslationLoaderManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TranslationLoaderManager.php b/src/TranslationLoaderManager.php index 08a220e..6715977 100644 --- a/src/TranslationLoaderManager.php +++ b/src/TranslationLoaderManager.php @@ -46,7 +46,7 @@ public function load($locale, $group, $namespace = null): array protected function getTranslationsForTranslationLoaders( string $locale, string $group, - string $namespace = null + ?string $namespace = null ): array { return collect(config('translation-loader.translation_loaders')) ->map(function (string $className) {