GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( af1d70...46d3c7 )
by Mahdi
01:11
created

Id::options()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Mjedari\Larafilter\Filters\Users;
4
5
use Illuminate\Database\Eloquent\Builder;
6
use Mjedari\Larafilter\Filters\FilterContract;
7
8
class Id extends FilterContract
9
{
10
    public $id;
11
12
    public static $queryName = 'ida';
13
14
    public function apply(Builder $query): Builder
15
    {
16
        return $query->where('id', '=', $this->value);
17
    }
18
19
    public function options()
20
    {
21
        // TODO: Implement options() method.
22
    }
23
24
    public function rules()
25
    {
26
        return [
27
            'required', 'numeric',
28
        ];
29
    }
30
31
    // ToDo: This is mandatory. should be fixed
32
//    protected $cast = 'integer';
33
}
34