Skip to content

Commit b27cd14

Browse files
committed
set constructed flag after unserialize
1 parent 1c25d86 commit b27cd14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AbstractIdentity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ final public function serialize(): string
8383
final public function unserialize($serialized): void
8484
{
8585
$this->value = \unserialize($serialized, [static::class]);
86+
$this->alreadyConstructed = true;
8687
}
8788

8889
/**

0 commit comments

Comments
 (0)