Skip to content

Commit

Permalink
Correct nullable type (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
l3aro authored Dec 9, 2024
1 parent aaf8873 commit c946d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TranslationLoaderManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c946d94

Please sign in to comment.