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.

ReplyKeyboardHide   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 39
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setHideKeyboard() 0 5 1
A setSelective() 0 5 1
A getSelective() 0 3 1
1
<?php
2
3
namespace Teebot\Api\Entity;
4
5
class ReplyKeyboardHide extends AbstractEntity {
6
7
    protected $hide_keyboard = true;
8
9
    protected $selective;
10
11
    protected $supportedProperties = [
12
        'hide_keyboard' => true,
13
        'selective' => false
14
    ];
15
16
    /**
17
     * Always sets hide keyboard flag to true
18
     */
19
    public function setHideKeyboard()
20
    {
21
        $this->hide_keyboard = true;
22
23
        return $this;
24
    }
25
26
    /**
27
     * @return mixed
28
     */
29
    public function getSelective()
30
    {
31
        return $this->selective;
32
    }
33
34
    /**
35
     * @param mixed $selective
36
     *
37
     * @return $this
38
     */
39
    public function setSelective($selective)
40
    {
41
        $this->selective = $selective;
42
        
43
        return $this;
44
    }
45
}
46