Total Complexity | 8 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 96.15% |
Changes | 4 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | final class Validator |
||
8 | { |
||
9 | private $validationData; |
||
10 | |||
11 | private $modifier; |
||
12 | |||
13 | 9 | public function __construct(array $validationData) |
|
14 | { |
||
15 | 9 | $this->validationData = $validationData; |
|
16 | 9 | } |
|
17 | |||
18 | 1 | public function otherwise() |
|
30 | } |
||
31 | |||
32 | 1 | public function beforeValidationModifyData($callable) |
|
33 | { |
||
34 | 1 | $this->modifier = $callable; |
|
35 | 1 | } |
|
36 | |||
37 | 8 | public function __destruct() |
|
55 | // |
||
56 | } |
||
59 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.