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 ( 682f51...d8d546 )
by Stan
03:16
created

InlineQueryResultAudio   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 72
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 6
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 72
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getAudioUrl() 0 4 1
A setAudioUrl() 0 6 1
A getPerformer() 0 4 1
A setPerformer() 0 6 1
A getAudioDuration() 0 4 1
A setAudioDuration() 0 6 1
1
<?php
2
3
namespace Teebot\Entity\Inline\Result;
4
5
class InlineQueryResultAudio extends InlineQueryResultAbstract
6
{
7
    const ENTITY_TYPE = 'InlineQueryResultAudio';
8
9
    const RESULT_TYPE = 'audio';
10
11
    protected $audio_url;
12
13
    protected $performer;
14
15
    protected $audio_duration;
16
17
    /**
18
     * @return mixed
19
     */
20
    public function getAudioUrl()
21
    {
22
        return $this->audio_url;
23
    }
24
25
    /**
26
     * @param mixed $audio_url
27
     *
28
     * @return $this
29
     */
30
    public function setAudioUrl($audio_url)
31
    {
32
        $this->audio_url = $audio_url;
33
34
        return $this;
35
    }
36
37
    /**
38
     * @return mixed
39
     */
40
    public function getPerformer()
41
    {
42
        return $this->performer;
43
    }
44
45
    /**
46
     * @param mixed $performer
47
     *
48
     * @return $this
49
     */
50
    public function setPerformer($performer)
51
    {
52
        $this->performer = $performer;
53
54
        return $this;
55
    }
56
57
    /**
58
     * @return mixed
59
     */
60
    public function getAudioDuration()
61
    {
62
        return $this->audio_duration;
63
    }
64
65
    /**
66
     * @param mixed $audio_duration
67
     *
68
     * @return $this
69
     */
70
    public function setAudioDuration($audio_duration)
71
    {
72
        $this->audio_duration = $audio_duration;
73
74
        return $this;
75
    }
76
}
77