The method active() does not exist on Illuminate\Contracts\Foundation\Application.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
30
->/** @scrutinizer ignore-call */ active()
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...
31
->select($columns)
32
->toBase()
33
->get();
34
35
$result = $result->groupBy('top');
36
// dd($result);
37
return $result;
38
}
39
40
public function getCacheScripts()
41
{
42
$cache_name = 'scripts';
43
44
if (Cache::has($cache_name) && !Cache::get($cache_name)->isEmpty()) {
45
$data_cache = Cache::get($cache_name);
46
} else {
47
$data_cache = Cache::remember($cache_name, $this->cache_time_forever, function () {
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.