Code Duplication    Length = 11-13 lines in 2 locations

src/WorldOfWarcraft/CharacterProfileApi/Feed/Model/FeedLootValueObject.php 1 location

@@ 45-57 (lines=13) @@
42
     * @param string $context
43
     * @param int[]  $bonusLists
44
     */
45
    public function __construct(
46
        $type,
47
        $timestamp,
48
        $itemId,
49
        $context,
50
        $bonusLists
51
    ) {
52
        $this->type = $type;
53
        $this->timestamp = $timestamp;
54
        $this->itemId = $itemId;
55
        $this->context = $context;
56
        $this->bonusLists = $bonusLists;
57
    }
58
59
    /**
60
     * @return string

src/WorldOfWarcraft/CharacterProfileApi/Item/Model/RelicValueObject.php 1 location

@@ 36-46 (lines=11) @@
33
     * @param int   $context
34
     * @param int[] $bonusLists
35
     */
36
    public function __construct(
37
        $socket,
38
        $itemId,
39
        $context,
40
        $bonusLists
41
    ) {
42
        $this->socket = $socket;
43
        $this->itemId = $itemId;
44
        $this->context = $context;
45
        $this->bonusLists = $bonusLists;
46
    }
47
48
    /**
49
     * @return int