Code Duplication    Length = 3-3 lines in 2 locations

src/YahooShoppingJp/Request/SearchOrdersRequest.php 2 locations

@@ 219-221 (lines=3) @@
216
            throw new LogicException('OrderTimeTo is already set.');
217
        }
218
219
        if (null !== $from) {
220
            $this->params['Search']['Condition']['OrderTimeFrom'] = $from->format('YmdHis');
221
        }
222
223
        if (null !== $to) {
224
            $this->params['Search']['Condition']['OrderTimeTo'] = $to->format('YmdHis');
@@ 223-225 (lines=3) @@
220
            $this->params['Search']['Condition']['OrderTimeFrom'] = $from->format('YmdHis');
221
        }
222
223
        if (null !== $to) {
224
            $this->params['Search']['Condition']['OrderTimeTo'] = $to->format('YmdHis');
225
        }
226
227
        return $this;
228
    }