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/UpdateOrderShippingStatusRequest.php 1 location

@@ 28-37 (lines=10) @@
25
     * @param string $sellerId
26
     * @return self
27
     */
28
    public function setSellerId(string $sellerId): self
29
    {
30
        if (isset($this->params['SellerId'])) {
31
            throw new LogicException('SellerId is already set.');
32
        }
33
34
        $this->params['SellerId'] = $sellerId;
35
36
        return $this;
37
    }
38
39
    /**
40
     * @param string $orderId