Code Duplication    Length = 8-8 lines in 2 locations

src/Phinx/Config/Config.php 2 locations

@@ 308-315 (lines=8) @@
305
     *
306
     * @return string|false
307
     */
308
    public function getTemplateFile()
309
    {
310
        if (!isset($this->values['templates']['file'])) {
311
            return false;
312
        }
313
314
        return $this->values['templates']['file'];
315
    }
316
317
    /**
318
     * Get the template class name.
@@ 322-329 (lines=8) @@
319
     *
320
     * @return string|false
321
     */
322
    public function getTemplateClass()
323
    {
324
        if (!isset($this->values['templates']['class'])) {
325
            return false;
326
        }
327
328
        return $this->values['templates']['class'];
329
    }
330
331
    /**
332
     * {@inheritdoc}