Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | 1 | public function getMaxScore() |
|
30 | { |
||
31 | 1 | if (!$this instanceof MaxScoreAwareInterface) |
|
32 | { |
||
33 | throw new UnexpectedValueException(sprintf('Class `%s` using `%s` must implement `%s`', get_class($this), __CLASS__, MaxScoreAwareInterface::class)); // @codeCoverageIgnore |
||
34 | } |
||
35 | 1 | return $this->maxScore; |
|
36 | } |
||
37 | |||
49 |