Conditions | 3 |
Paths | 4 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
37 | 1 | public function getPath(): string |
|
38 | { |
||
39 | 1 | $config = $this->module->get('migration'); |
|
40 | |||
41 | 1 | $migrationPath = GenerateConfigReader::read('migration'); |
|
42 | 1 | $path = (is_array($config) && array_key_exists('path', $config)) ? $config['path'] : $migrationPath->getPath(); |
|
43 | |||
44 | 1 | return $this->module->getExtraPath($path); |
|
45 | } |
||
46 | } |
||
47 |