@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | $t = count($array[$index]); |
| 365 | 365 | $locales = $this->locales(); |
| 366 | 366 | |
| 367 | - for (; $i<$t; $i++) { |
|
| 367 | + for (; $i < $t; $i++) { |
|
| 368 | 368 | $this->climate()->inline('.'); |
| 369 | 369 | $orig = $array[$index][$i]; |
| 370 | 370 | foreach ($locales as $lang) { |
@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | // $max = $this->maxRecursiveLevel(); |
| 395 | 395 | $i = 1; |
| 396 | 396 | $files = glob($pattern, $flags); |
| 397 | - foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR|GLOB_NOSORT)) as $dir) { |
|
| 397 | + foreach (glob(dirname($pattern).'/*', (GLOB_ONLYDIR | GLOB_NOSORT)) as $dir) { |
|
| 398 | 398 | $files = array_merge($files, $this->globRecursive($dir.'/'.basename($pattern), $flags)); |
| 399 | 399 | $i++; |
| 400 | 400 | // if ($i >= $max) { |
@@ -478,7 +478,7 @@ discard block |
||
| 478 | 478 | } |
| 479 | 479 | |
| 480 | 480 | foreach ($trans as $key => $translation) { |
| 481 | - $data = [ $key, $translation ]; |
|
| 481 | + $data = [$key, $translation]; |
|
| 482 | 482 | fputcsv($file, $data, $separator, $enclosure); |
| 483 | 483 | } |
| 484 | 484 | fclose($file); |