ConfigHandler   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A userField() 0 3 1
1
<?php
2
3
namespace UniSharp\LaravelFilemanager\Handlers;
4
5
class ConfigHandler
6
{
7
    public function userField()
8
    {
9
        return auth()->id();
0 ignored issues
show
Bug introduced by
The function auth was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

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

9
        return /** @scrutinizer ignore-call */ auth()->id();
Loading history...
10
    }
11
}
12