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 ( 64a210...2d6991 )
by Stan
02:42
created

AbstractCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getArgs() 0 4 1
A setArgs() 0 4 1
1
<?php
2
3
/**
4
 * Abstract command event class is base class for creating the command for received in response messages.
5
 * Most methods are inherited from AbstractEntityEvent since command is actually and AbstractEntityEvent
6
 * itself.
7
 *
8
 * @package Teebot (Telegram bot framework)
9
 *
10
 * @author  Stanislav Drozdov <[email protected]>
11
 */
12
13
namespace Teebot\Command;
14
15
abstract class AbstractCommand extends AbstractEntityEvent
16
{
17
    protected $args = '';
18
19
    /**
20
     * Returns arguments string for the command
21
     *
22
     * @return string
23
     */
24
    public function getArgs()
25
    {
26
        return $this->args;
27
    }
28
29
    /**
30
     * Sets argument string for the command
31
     *
32
     * @param string $args Arguments string
33
     */
34
    public function setArgs($args)
35
    {
36
        $this->args = $args;
37
    }
38
}
39