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.

TwilioMmsMessage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 20
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A mediaUrl() 0 6 1
1
<?php
2
3
namespace NotificationChannels\Twilio;
4
5
class TwilioMmsMessage extends TwilioSmsMessage
6
{
7
    /**
8
     * @var string|null
9
     */
10
    public $mediaUrl;
11
12
    /**
13
     * Set the message media url.
14
     *
15
     * @param string $url
16
     * @return $this
17
     */
18 3
    public function mediaUrl(string $url): self
19
    {
20 3
        $this->mediaUrl = $url;
21
22 3
        return $this;
23
    }
24
}
25