Code Duplication    Length = 10-10 lines in 3 locations

src/YahooShoppingJp/Request/GetOrderInfoRequest.php 1 location

@@ 51-60 (lines=10) @@
48
     * @param string $sellerId
49
     * @return self
50
     */
51
    public function setSellerId(string $sellerId): self
52
    {
53
        if (isset($this->params['SellerId'])) {
54
            throw new LogicException('SellerId is already set.');
55
        }
56
57
        $this->params['SellerId'] = $sellerId;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @param string $orderId

src/YahooShoppingJp/Request/SearchOrdersRequest.php 1 location

@@ 37-46 (lines=10) @@
34
     * @param string $sellerId
35
     * @return self
36
     */
37
    public function setSellerId(string $sellerId): self
38
    {
39
        if (isset($this->params['SellerId'])) {
40
            throw new LogicException('SellerId is already set.');
41
        }
42
43
        $this->params['SellerId'] = $sellerId;
44
45
        return $this;
46
    }
47
48
    /**
49
     * @param null|DateTimeImmutable $from

src/YahooShoppingJp/Request/UpdateOrderStatusRequest.php 1 location

@@ 24-33 (lines=10) @@
21
     * @param string $sellerId
22
     * @return self
23
     */
24
    public function setSellerId(string $sellerId): self
25
    {
26
        if (isset($this->params['SellerId'])) {
27
            throw new LogicException('SellerId is already set.');
28
        }
29
30
        $this->params['SellerId'] = $sellerId;
31
32
        return $this;
33
    }
34
35
    /**
36
     * 【必須】注文ID