Issues (2963)

includes/html/graphs/customer/auth.inc.php (1 issue)

1
<?php
2
3
// FIXME - wtfbbq
4
5
if ($auth || Auth::user()->hasGlobalRead()) {
0 ignored issues
show
The method hasGlobalRead() does not exist on Illuminate\Contracts\Auth\Authenticatable. It seems like you code against a sub-type of Illuminate\Contracts\Auth\Authenticatable such as Illuminate\Foundation\Auth\User. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

5
if ($auth || Auth::user()->/** @scrutinizer ignore-call */ hasGlobalRead()) {
Loading history...
6
    $id = $vars['id'];
7
    $title = generate_device_link($device);
8
    $auth = true;
9
}
10