Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
58 | public static function set(string $key, $value = null) |
||
59 | { |
||
60 | Setting::updateOrCreate(['key' => $key], ['value' => json_encode($value)]); |
||
1 ignored issue
–
show
|
|||
61 | Cache::forever($key, $value); |
||
62 | } |
||
63 | } |
||
64 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.