Code Duplication    Length = 3-3 lines in 2 locations

src/Eccube/Command/PluginCommand/EntityFromDbGenerator.php 1 location

@@ 550-552 (lines=3) @@
547
                    $param['precision'] = $column->getPrecision();
548
                    $param['scale'] = $column->getScale();
549
                }
550
                foreach ($param as $parKey => $parVal) {
551
                    $tmp[] = '            \'' . $parKey . '\' => ' . $parVal . ',';
552
                }
553
                $tmp[] = '        ));';
554
            }
555
            $indexes = $TableInfo->getindexes();

src/Eccube/Command/PluginCommand/EntityFromYamlGenerator.php 1 location

@@ 353-355 (lines=3) @@
350
                    $param['notnull'] = 'false';
351
                }
352
353
                foreach ($param as $parKey => $parVal) {
354
                    $tmp[] = '            \'' . $parKey . '\' => ' . $parVal . ',';
355
                }
356
                $tmp[] = '        ));';
357
            }
358