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

Commit

Permalink
Security hardening
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Dec 11, 2020
1 parent fc10d77 commit 848d812
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Faker/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,9 @@ public function __destruct()
{
$this->seed();
}

public function __wakeup()
{
$this->formatters = [];
}
}

0 comments on commit 848d812

Please sign in to comment.