Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Apr 28, 2021
1 parent 8439884 commit fb6de57
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/TranslationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ protected function registerLoader()
array_push($paths, base_path('resources/lang/'));
}

return (new FileLoader($app['files'], $app['path.lang'], $paths))
->addJsonPath($jsonPath);
$loader = new FileLoader($app['files'], $app['path.lang'], $paths);

$loader->addJsonPath($jsonPath);

return $loader;
});
}

Expand Down

0 comments on commit fb6de57

Please sign in to comment.