Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class BluePrintMacros |
||
8 | { |
||
9 | private array $columnTypes = [ |
||
10 | ['dateRange', 'daterange'], |
||
11 | ['timestampRange', 'tsrange'], |
||
12 | ['timestampTzRange', 'tstzrange'], |
||
13 | ['floatRange', 'numrange'], |
||
14 | ['integerRange', 'int4range'], |
||
15 | ['bigIntegerRange', 'int8range'], |
||
16 | ['timeRange', 'timerange'], |
||
17 | ]; |
||
18 | |||
19 | public function register(): void |
||
36 |
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.