Code Duplication    Length = 3-3 lines in 2 locations

src/YahooShoppingJp/Request/SearchOrdersRequest.php 2 locations

@@ 73-75 (lines=3) @@
70
            throw new LogicException('OrderTimeTo is already set.');
71
        }
72
73
        if (null !== $from) {
74
            $this->params['Search']['Condition']['OrderTimeFrom'] = $from->format('YmdHis');
75
        }
76
77
        if (null !== $to) {
78
            $this->params['Search']['Condition']['OrderTimeTo'] = $to->format('YmdHis');
@@ 77-79 (lines=3) @@
74
            $this->params['Search']['Condition']['OrderTimeFrom'] = $from->format('YmdHis');
75
        }
76
77
        if (null !== $to) {
78
            $this->params['Search']['Condition']['OrderTimeTo'] = $to->format('YmdHis');
79
        }
80
81
        return $this;
82
    }