Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4444'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Adapter/PythonPickle.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,9 @@ protected function writeArrayDict($value)
$this->memorize($value);

foreach ($value as $k => $v) {
$this->pickle .= $this->write($k) . $this->write($v) . self::OP_SETITEM;
$this->write($k);
$this->write($v);
$this->pickle .= self::OP_SETITEM;
}
}

Expand All @@ -441,7 +443,8 @@ protected function writeArrayList(array $value)
$this->memorize($value);

foreach ($value as $v) {
$this->pickle .= $this->write($v) . self::OP_APPEND;
$this->write($v);
$this->pickle .= self::OP_APPEND;
}
}

Expand Down

0 comments on commit 3196aef

Please sign in to comment.