@@ -51,9 +51,9 @@ public function __construct(
51
51
readonly protected Config $ config ,
52
52
protected Manager $ filesystem = new Manager (),
53
53
protected ArrHelper $ arr = new ArrHelper (),
54
- protected Translation $ translation = new Translation ()
55
- ) {
56
- }
54
+ protected Translation $ translation = new Translation (
55
+ )
56
+ ) { }
57
57
58
58
public function prepare (): self
59
59
{
@@ -91,7 +91,7 @@ public function store(): void
91
91
$ path = $ this ->config ->langPath ($ filename );
92
92
93
93
$ values
94
- = $ this ->reset || !File::exists ($ path )
94
+ = $ this ->reset || ! File::exists ($ path )
95
95
? $ values
96
96
: $ this ->arr ->merge (
97
97
$ this ->filesystem ->load ($ path ),
@@ -121,7 +121,7 @@ protected function collectLocalizations(string $directory): void
121
121
$ locale_alias = $ this ->toAlias ($ locale );
122
122
123
123
foreach ($ this ->file_types as $ type ) {
124
- $ main_path = $ this ->localeFilename ($ locale_alias , "$ directory/locales/ $ locale/ $ type.json " );
124
+ $ main_path = $ this ->localeFilename ($ locale_alias , "$ directory/locales/ $ locale/ $ type.json " );
125
125
$ inline_path = $ this ->localeFilename ($ locale_alias , "$ directory/locales/ $ locale/ $ type.json " , true );
126
126
127
127
$ values = $ this ->filesystem ->load ($ main_path );
0 commit comments