Skip to content

Commit

Permalink
fixed code
Browse files Browse the repository at this point in the history
  • Loading branch information
albert committed Oct 19, 2019
1 parent 550ac2e commit a1f3e27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/PhpParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public function encode($data): string
*/
public function decode(string $data)
{
return $this->igbinaryAvailable ? \igbinary_unserialize($data) : \unserialize($data,
['allowed_classes' => false]);
return $this->igbinaryAvailable ? \igbinary_unserialize($data) : \unserialize(
$data,
['allowed_classes' => false]
);
}
}

0 comments on commit a1f3e27

Please sign in to comment.