Code Duplication    Length = 10-10 lines in 2 locations

src/Eccube/Entity/Product.php 2 locations

@@ 252-261 (lines=10) @@
249
     *
250
     * @return integer
251
     */
252
    public function getPrice01Min()
253
    {
254
        $this->_calc();
255
256
        if (count($this->price01) == 0) {
257
            return null;
258
        }
259
260
        return min($this->price01);
261
    }
262
263
    /**
264
     * Get Price01 max
@@ 268-277 (lines=10) @@
265
     *
266
     * @return integer
267
     */
268
    public function getPrice01Max()
269
    {
270
        $this->_calc();
271
272
        if (count($this->price01) == 0) {
273
            return null;
274
        }
275
276
        return max($this->price01);
277
    }
278
279
    /**
280
     * Get Price02 min