Code Duplication    Length = 10-10 lines in 2 locations

src/Eccube/Entity/Product.php 2 locations

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