Code Duplication    Length = 10-10 lines in 2 locations

src/Eccube/Entity/Product.php 2 locations

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