ConfigMistakeException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace OpenOauth\Core\Exceptions;
3
4
use OpenOauth\Core\Exception;
5
6
class ConfigMistakeException extends Exception
7
{
8
    function __construct($message = '丢失参数 component_app_id || component_app_secret || component_app_token || component_app_key')
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
9
    {
10
        parent::__construct($message);
11
    }
12
}