@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | $t = count($array[$index]); |
338 | 338 | $locales = $this->locales(); |
339 | 339 | |
340 | - for (; $i<$t; $i++) { |
|
340 | + for (; $i < $t; $i++) { |
|
341 | 341 | $this->climate()->inline('.'); |
342 | 342 | $orig = $array[$index][$i]; |
343 | 343 | foreach ($locales as $lang) { |
@@ -366,7 +366,7 @@ discard block |
||
366 | 366 | $max = $this->maxRecursiveLevel(); |
367 | 367 | $i = 1; |
368 | 368 | $files = glob($pattern, $flags); |
369 | - foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR|GLOB_NOSORT)) as $dir) { |
|
369 | + foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR | GLOB_NOSORT)) as $dir) { |
|
370 | 370 | $files = array_merge($files, $this->globRecursive($dir.'/'.basename($pattern), $flags)); |
371 | 371 | $i++; |
372 | 372 | if ($i >= $max) { |
@@ -447,7 +447,7 @@ discard block |
||
447 | 447 | } |
448 | 448 | |
449 | 449 | foreach ($trans as $key => $translation) { |
450 | - $data = [ $key, $translation ]; |
|
450 | + $data = [$key, $translation]; |
|
451 | 451 | fputcsv($file, $data, $separator, $enclosure); |
452 | 452 | } |
453 | 453 | fclose($file); |