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

AbstractException::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * Abstract exception class
5
 *
6
 * @package Teebot (Telegram bot framework)
7
 *
8
 * @author Stanislav Drozdov <[email protected]>
9
 */
10
11
namespace Teebot\Exception;
12
13
use \Exception;
14
15
class AbstractException extends Exception
16
{
17
    const COLOR_MESSAGE_PATTERN = "%s";
18
19
    /**
20
     * Returns color message pattern
21
     *
22
     * @return string
23
     */
24
    public function getColorMessagePattern()
25
    {
26
        return static::COLOR_MESSAGE_PATTERN;
27
    }
28
29
    /**
30
     * Returns exception type
31
     *
32
     * @return mixed
33
     */
34
    public function getType()
35
    {
36
        return static::class;
37
    }
38
}
39