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.

Issues (32)

src/QueryFilter/Core/HelperEloquentFilter.php (1 issue)

1
<?php
2
3
namespace eloquentFilter\QueryFilter\Core;
4
5
/**
6
 * Trait HelperEloquentFilter.
7
 */
8
trait HelperEloquentFilter
9
{
10
    /**
11
     * @param null $index
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $index is correct as it would always require null to be passed?
Loading history...
12
     *
13
     * @return array|mixed|null
14
     */
15
    public function filterRequests($index = null)
16
    {
17
        if (!empty($index)) {
18
            return $this->requestFilter->getRequest()[$index];
19
        }
20
21
        return $this->requestFilter->getRequest();
22
    }
23
24
    /**
25
     * @return mixed
26
     */
27
    public function getAcceptedRequest()
28
    {
29
        return $this->requestFilter->getAcceptRequest();
30
    }
31
32
    /**
33
     * @return mixed
34
     */
35
    public function getIgnoredRequest()
36
    {
37
        return $this->requestFilter->getIgnoreRequest();
38
    }
39
40
    /**
41
     * @return mixed
42
     */
43
    public function getInjectedDetections()
44
    {
45
        return $this->queryFilterCore->getInjectedDetections();
46
    }
47
}
48