Skip to content

Commit

Permalink
Merge pull request #4 from QuentinBontemps/patch-1
Browse files Browse the repository at this point in the history
Fixe error "Array to string conversion"
  • Loading branch information
adammatysiak authored Jun 29, 2018
2 parents c457ee8 + 371039a commit e5bab74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Console/ExportToCsvCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ private function saveTranslationsToFile($output, $translations)
{
foreach ($translations as $group => $files) {
foreach($files as $key => $value) {
if(is_array($value)) {
continue;
}
$this->writeFile($output, $group, $key, $value);
}
}
Expand Down Expand Up @@ -235,4 +238,4 @@ private function sayItsFinish()
. PHP_EOL);
}

}
}

0 comments on commit e5bab74

Please sign in to comment.