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

SendMessageRequestItem   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 2
1
<?php
2
namespace AliyunMNS\Model;
3
4
use AliyunMNS\Constants;
5
use AliyunMNS\Traits\MessagePropertiesForSend;
6
7
// this class is used for BatchSend
8
class SendMessageRequestItem
9
{
10
    use MessagePropertiesForSend;
11
12
    public function __construct($messageBody, $delaySeconds = NULL, $priority = NULL)
13
    {
14
        $this->messageBody = $messageBody;
15
        $this->delaySeconds = $delaySeconds;
16
        $this->priority = $priority;
17
    }
18
19
    public function writeXML(\XMLWriter $xmlWriter, $base64)
20
    {
21
        $xmlWriter->startELement('Message');
22
        $this->writeMessagePropertiesForSendXML($xmlWriter, $base64);
23
        $xmlWriter->endElement();
24
    }
25
}
26
27
?>
28