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 ( 5d5b93...fed2d0 )
by Jazin
03:26
created

PreprocessCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 16
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 5 1
1
<?php
2
/**
3
 * This file is part of the TelegramBot package.
4
 *
5
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Longman\TelegramBot\Commands;
12
13
use Longman\TelegramBot\Request;
14
15
abstract class PreprocessCommand extends SystemCommand
16
{
17
    /**
18
     * A system command just executes
19
     *
20
     * Although system commands should just work and return a successful ServerResponse,
21
     * each system command can override this method to add custom functionality.
22
     *
23
     * @return \Longman\TelegramBot\Entities\ServerResponse
24
     */
25
    public function execute()
26
    {
27
        //System command, return empty ServerResponse by default
28
        return Request::emptyResponse();
29
    }
30
}
31