Code Duplication    Length = 8-8 lines in 2 locations

src/Phinx/Config/Config.php 2 locations

@@ 299-306 (lines=8) @@
296
     *
297
     * @return string|false
298
     */
299
    public function getTemplateFile()
300
    {
301
        if (!isset($this->values['templates']['file'])) {
302
            return false;
303
        }
304
305
        return $this->values['templates']['file'];
306
    }
307
308
    /**
309
     * Get the template class name.
@@ 313-320 (lines=8) @@
310
     *
311
     * @return string|false
312
     */
313
    public function getTemplateClass()
314
    {
315
        if (!isset($this->values['templates']['class'])) {
316
            return false;
317
        }
318
319
        return $this->values['templates']['class'];
320
    }
321
322
    /**
323
     * {@inheritdoc}