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 ( 455531...ffa913 )
by Stan
03:40
created

InlineQueryResultCachedVoice   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 26
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getVoiceFileId() 0 4 1
A setVoiceFileId() 0 6 1
1
<?php
2
3
namespace Teebot\Entity\Inline\Result;
4
5
class InlineQueryResultCachedVoice extends InlineQueryResultAbstract
6
{
7
    const ENTITY_TYPE = 'InlineQueryResultCachedVoice';
8
9
    protected $voice_file_id;
10
11
    /**
12
     * @return mixed
13
     */
14
    public function getVoiceFileId()
15
    {
16
        return $this->voice_file_id;
17
    }
18
19
    /**
20
     * @param mixed $voice_file_id
21
     * 
22
     * @return $this
23
     */
24
    public function setVoiceFileId($voice_file_id)
25
    {
26
        $this->voice_file_id = $voice_file_id;
27
        
28
        return $this;
29
    }
30
}
31