The method find() does not seem to exist on object<Sco\Admin\Config\ModelConfig>.
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.
Loading history...
34
}
35
36
public function update()
37
{
38
}
39
40
public function delete(ConfigContract $config, $id)
41
{
42
$config->getModel()->delete($id);
43
return response()->json(['message' => 'ok']);
44
}
45
46
public function batchDelete(ConfigContract $config)
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.