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

InlineQueryResultVoice::getVoiceDuration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Teebot\Entity\Inline\Result;
4
5
class InlineQueryResultVoice extends InlineQueryResultAbstract
6
{
7
    const ENTITY_TYPE = 'InlineQueryResultVoice';
8
9
    const RESULT_TYPE = 'voice';
10
11
    protected $voice_url;
12
13
    protected $voice_duration;
14
15
    /**
16
     * @return mixed
17
     */
18
    public function getVoiceUrl()
19
    {
20
        return $this->voice_url;
21
    }
22
23
    /**
24
     * @param mixed $voice_url
25
     *
26
     * @return $this
27
     */
28
    public function setVoiceUrl($voice_url)
29
    {
30
        $this->voice_url = $voice_url;
31
32
        return $this;
33
    }
34
35
    /**
36
     * @return mixed
37
     */
38
    public function getVoiceDuration()
39
    {
40
        return $this->voice_duration;
41
    }
42
43
    /**
44
     * @param mixed $voice_duration
45
     *
46
     * @return $this
47
     */
48
    public function setVoiceDuration($voice_duration)
49
    {
50
        $this->voice_duration = $voice_duration;
51
52
        return $this;
53
    }
54
}
55