mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-23 17:28:59 +03:00
Require phpstan and correct issues found up to level 2
* issues found by phpstan L0 * issues found by phpstan L1 * issues found by phpstan L2 in src/ * issues found by phpstan L2 in tests/
This commit is contained in:
@@ -238,6 +238,7 @@ class Uuid implements UuidInterface
|
||||
*/
|
||||
public function unserialize($serialized)
|
||||
{
|
||||
/** @var \Ramsey\Uuid\Uuid $uuid */
|
||||
$uuid = self::fromString($serialized);
|
||||
$this->codec = $uuid->codec;
|
||||
$this->converter = $uuid->converter;
|
||||
|
||||
Reference in New Issue
Block a user