Skip to content

Commit bd44022

Browse files
authored
Update ExportLocalizations.php
1 parent 10d7ed5 commit bd44022

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Classes/ExportLocalizations.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ public function toFlat($prefix = '.')
189189
}
190190

191191
// Pick only the first $json_strings
192-
if (!$default_json_strings)
192+
if (! $default_json_strings)
193193
$default_json_strings = $json_strings;
194194
}
195195
}
196196
}
197197

198198
// Create a JSON key value pair for the default language
199-
$default_key = $default_locale . $prefix . '__JSON__';
200-
if (!array_key_exists($default_key, $results)) {
199+
$default_key = $default_locale.$prefix. '__JSON__';
200+
if (! array_key_exists($default_key, $results)) {
201201
$buffer = array_keys(
202202
get_object_vars($default_json_strings)
203203
);

0 commit comments

Comments
 (0)