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 ( 2d6991...ab3243 )
by Stan
02:44
created

ReplyKeyboardHide   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 3
c 2
b 1
f 0
lcom 1
cbo 1
dl 0
loc 34
rs 10

3 Methods

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