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.

ArgumentException   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getArgumentName() 0 4 1
1
<?php
2
namespace Checkdomain\Comodo\Model\Exception;
3
4
/**
5
 * Exception thrown, when anything is wrong with argument
6
 */
7
class ArgumentException extends AbstractException
8
{
9
    protected $argumentName;
10
11
    /**
12
     * @param int    $errorCode
13
     * @param string $errorMessage
14
     * @param string $argumentName
15
     * @param string $responseString
16
     */
17
    public function __construct($errorCode, $errorMessage, $argumentName, $responseString)
18
    {
19
        $this->argumentName = $argumentName;
20
21
        parent::__construct($errorCode, $errorMessage, $responseString);
22
    }
23
24
    /**
25
     * @return string
26
     */
27
    public function getArgumentName()
28
    {
29
        return $this->argumentName;
30
    }
31
}
32