Code Duplication    Length = 8-8 lines in 2 locations

src/Tequilarapido/Cli/Config/Config.php 2 locations

@@ 119-126 (lines=8) @@
116
        return null;
117
    }
118
119
    public function getDatabaseName()
120
    {
121
        if (!empty($this->raw->database->database)) {
122
            return $this->raw->database->database;
123
        }
124
125
        throw new \LogicException('Database name is not specified. Maybe the configuration file is not valid');
126
    }
127
128
    public function getDatabasePrefix()
129
    {
@@ 128-135 (lines=8) @@
125
        throw new \LogicException('Database name is not specified. Maybe the configuration file is not valid');
126
    }
127
128
    public function getDatabasePrefix()
129
    {
130
        if (!empty($this->raw->database->prefix)) {
131
            return $this->raw->database->prefix;
132
        }
133
134
        throw new \LogicException('Database prefix is not specified. Maybe the configuration file is not valid');
135
    }
136
137
    public function getCleanup()
138
    {