| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public static function fromInvalidSignature( |
||
| 19 | 1 | ReflectionClass $class, |
|
| 20 | array $parameters, |
||
| 21 | string $signature, |
||
| 22 | string $expected |
||
| 23 | ) : self { |
||
| 24 | return new self(sprintf( |
||
| 25 | 1 | 'Found signature "%s" for class "%s" does not correspond to expected signature "%s" for %d parameters', |
|
| 26 | 1 | $signature, |
|
| 27 | 1 | $class->getName(), |
|
| 28 | 1 | $expected, |
|
| 29 | 1 | count($parameters) |
|
| 30 | 1 | )); |
|
| 31 | } |
||
| 32 | } |
||
| 33 |