diff --git a/composer.json b/composer.json index a16cb74..61173dd 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,10 @@ "autoload": { "psr-4": { "OptimistDigital\\NovaTranslationsLoader\\": "src/" - } + }, + "files": [ + "./src/helpers.php" + ] }, "extra": { "laravel": { diff --git a/src/helpers.php b/src/helpers.php new file mode 100644 index 0000000..79d9664 --- /dev/null +++ b/src/helpers.php @@ -0,0 +1,10 @@ +getFallbackLocale(), $fallback); + return $line; + } +}