Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
14 | 8 | public static function new(string $configurationParameterName, MigrationFinder $finder) : self |
|
15 | { |
||
16 | 8 | return new self( |
|
17 | 8 | sprintf( |
|
18 | 8 | 'Configuration-parameter "%s" cannot be used with finder of type "%s"', |
|
19 | 8 | $configurationParameterName, |
|
20 | 8 | get_class($finder) |
|
21 | ), |
||
22 | 8 | 9 |
|
23 | ); |
||
26 |