Code Duplication    Length = 13-15 lines in 2 locations

src/Metadata/ClassMetadata.php 1 location

@@ 23-35 (lines=13) @@
20
        ));
21
    }
22
23
    public function unserialize($str)
24
    {
25
        list(
26
            $this->name,
27
            $this->methodMetadata,
28
            $this->propertyMetadata,
29
            $this->fileResources,
30
            $this->createdAt,
31
            $this->annotations
32
        ) = unserialize($str);
33
34
        $this->reflection = new \ReflectionClass($this->name);
35
    }
36
}
37

src/Webservice/Metadata/TransferMetadata.php 1 location

@@ 62-76 (lines=15) @@
59
        ));
60
    }
61
62
    public function unserialize($str)
63
    {
64
        list(
65
            $this->name,
66
            $this->methodMetadata,
67
            $this->propertyMetadata,
68
            $this->fileResources,
69
            $this->createdAt,
70
            $this->annotations,
71
            $this->id,
72
            $this->associations
73
        ) = unserialize($str);
74
75
        $this->reflection = new \ReflectionClass($this->name);
76
    }
77
}
78