Skip to content

Commit

Permalink
Make code more portable by using binary format by default
Browse files Browse the repository at this point in the history
Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>
  • Loading branch information
bburnichon committed Jul 22, 2014
1 parent 2741c4a commit e70b6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ddeboer/DataImport/Writer/AbstractStreamWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function setStream($stream)
public function getStream()
{
if (null === $this->stream) {
$this->setStream(fopen('php://temp', 'r+'));
$this->setStream(fopen('php://temp', 'rb+'));
$this->setCloseStreamOnFinish(false);
}

Expand Down

0 comments on commit e70b6a2

Please sign in to comment.