Code Duplication    Length = 10-10 lines in 2 locations

src/Eccube/Entity/Product.php 2 locations

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