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

Commit 848d812

Browse files
committed
Security hardening
1 parent fc10d77 commit 848d812

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/Faker/Generator.php

+5
Original file line numberDiff line numberDiff line change
@@ -289,4 +289,9 @@ public function __destruct()
289289
{
290290
$this->seed();
291291
}
292+
293+
public function __wakeup()
294+
{
295+
$this->formatters = [];
296+
}
292297
}

0 commit comments

Comments
 (0)