Skip to content

Commit 7aa2235

Browse files
committed
fix fopen calls
1 parent 537e71d commit 7aa2235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/CsvFileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function format(MessageCatalogue $messages, $domain = 'messages')
3838
*/
3939
public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array())
4040
{
41-
$handle = fopen('php://memory', 'rb+');
41+
$handle = fopen('php://memory', 'r+b');
4242

4343
foreach ($messages->all($domain) as $source => $target) {
4444
fputcsv($handle, array($source, $target), $this->delimiter, $this->enclosure);

0 commit comments

Comments
 (0)