Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function getSetting() |
||
21 | { |
||
22 | $columns = [ |
||
23 | // 'id', |
||
24 | 'name', |
||
25 | 'value', |
||
26 | ]; |
||
27 | |||
28 | $result = $this->startConditions() |
||
29 | ->select($columns) |
||
|
|||
30 | ->get(); |
||
31 | |||
32 | $setting = $result->mapWithKeys(function ($item) { |
||
33 | return [$item['name'] => $item['value']]; |
||
34 | }); |
||
35 | |||
36 | // dd($setting); |
||
37 | return $setting; |
||
38 | } |
||
55 |
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.