Code Duplication    Length = 7-7 lines in 2 locations

src/Command/ImportCommand.php 2 locations

@@ 79-85 (lines=7) @@
76
                            ':ping_status' => 'closed',
77
                            ':post_type' => 'lyrics',
78
                        ]);
79
                        if ($albumDB != null) {
80
                            $wpPost->insertMeta([
81
                                ':post_id' => $songDB['ID'],
82
                                ':key' => 'theme2035_album_name',
83
                                ':value' => $albumDB['ID'],
84
                            ]);
85
                        }
86
                        if ($artistDB != null) {
87
                            $wpPost->insertMeta([
88
                                ':post_id' => $songDB['ID'],
@@ 86-92 (lines=7) @@
83
                                ':value' => $albumDB['ID'],
84
                            ]);
85
                        }
86
                        if ($artistDB != null) {
87
                            $wpPost->insertMeta([
88
                                ':post_id' => $songDB['ID'],
89
                                ':key' => 'theme2035_album_name',
90
                                ':value' => $artistDB['ID'],
91
                            ]);
92
                        }
93
                        $console->writeLine("[INFO] New lyrics ({$songDB['ID']}) {$songDB['post_title']}");
94
                    }
95
                        die;