Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class CronCheck extends ApiResource |
||
6 | { |
||
7 | public int $id; |
||
8 | |||
9 | public string $name; |
||
10 | |||
11 | public string $uuid; |
||
12 | |||
13 | public string $type; |
||
14 | |||
15 | public int $checkId; |
||
16 | |||
17 | public ?int $frequencyInMinutes; |
||
18 | |||
19 | public string $pingUrl; |
||
20 | |||
21 | public int $graceTimeInMinutes = 0; |
||
22 | |||
23 | public ?string $cronExpression = ''; |
||
24 | |||
25 | public string $description = ''; |
||
26 | |||
27 | public function __construct(array $attributes, $ohDear = null) |
||
28 | { |
||
29 | parent::__construct($attributes, $ohDear); |
||
30 | } |
||
31 | |||
32 | public function delete(): void |
||
35 | } |
||
36 | |||
37 | public function update() |
||
50 |
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.