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.
Passed
Branch master (b10c57)
by milkmeowo
02:58
created

PeekMessageRequest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 24
rs 10
c 0
b 0
f 0
wmc 4
1
<?php
2
namespace AliyunMNS\Requests;
3
4
use AliyunMNS\Constants;
5
use AliyunMNS\Requests\BaseRequest;
6
7
class PeekMessageRequest extends BaseRequest
8
{
9
    private $queueName;
10
11
    public function __construct($queueName)
12
    {
13
        parent::__construct('get', 'queues/' . $queueName . '/messages?peekonly=true');
14
15
        $this->queueName = $queueName;
16
    }
17
18
    public function getQueueName()
19
    {
20
        return $this->queueName;
21
    }
22
23
    public function generateBody()
24
    {
25
        return NULL;
26
    }
27
28
    public function generateQueryString()
29
    {
30
        return NULL;
31
    }
32
}
33
?>
34