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 ( f8863b...48fd44 )
by Sergey
04:48
created

QueryParametersParser::setQueryType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 1
crap 2
1
<?php
2
/*
3
 * This file is part of the reva2/jsonapi.
4
 *
5
 * (c) OrbitScripts LLC <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
12
namespace Reva2\JsonApi\Http\Query;
13
14
use Neomerx\JsonApi\Contracts\Encoder\Parameters\EncodingParametersInterface;
15
use Psr\Http\Message\ServerRequestInterface;
16
use Reva2\JsonApi\Contracts\Decoders\DataParserInterface;
17
use Reva2\JsonApi\Contracts\Http\Query\QueryParametersParserInterface;
18
19
/**
20
 * Query parameters parser
21
 *
22
 * @package Reva2\JsonApi\Http\Query
23
 * @author Sergey Revenko <[email protected]>
24
 */
25
class QueryParametersParser implements QueryParametersParserInterface
26
{
27
    /**
28
     * @var DataParserInterface
29
     */
30
    protected $parser;
31
32
    /**
33
     * @var string|null
34
     */
35
    protected $queryType;
36
37
38
    public function parse(ServerRequestInterface $request)
39
    {
40
        // TODO: Implement parse() method.
41
    }
42
43
    public function setDataParser(DataParserInterface $parser)
44
    {
45
        // TODO: Implement setDataParser() method.
46
    }
47
48
    public function setQueryType($type)
49
    {
50
        // TODO: Implement setQueryType() method.
51
    }
52
}