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

MessageIdAndMD5   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 3
1
<?php
2
namespace AliyunMNS\Traits;
3
4
use AliyunMNS\Constants;
5
use AliyunMNS\Model\Message;
6
7
trait MessageIdAndMD5
8
{
9
    protected $messageId;
10
    protected $messageBodyMD5;
11
12
    public function getMessageId()
13
    {
14
        return $this->messageId;
15
    }
16
17
    public function getMessageBodyMD5()
18
    {
19
        return $this->messageBodyMD5;
20
    }
21
22
    public function readMessageIdAndMD5XML(\XMLReader $xmlReader)
23
    {
24
        $message = Message::fromXML($xmlReader, TRUE);
25
        $this->messageId = $message->getMessageId();
26
        $this->messageBodyMD5 = $message->getMessageBodyMD5();
27
    }
28
}
29
30
?>
31