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 ( 7392fc...b66279 )
by Gregorio
04:48 queued 02:32
created

TwilioMmsMessage::mediaUrl()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
namespace NotificationChannels\Twilio;
4
5
class TwilioMmsMessage extends TwilioSmsMessage
6
{
7
    /**
8
     * @var string|null
9
     */
10
    public $mediaUrl = null;
11
12
    /**
13
     * Set the message media url.
14
     *
15
     * @param string $url
16
     * @return $this
17
     */
18 3
    public function mediaUrl($url)
19
    {
20 3
        $this->mediaUrl = $url;
21
22 3
        return $this;
23
    }
24
}
25