Passed
Push — master ( 47fbf0...a2ba4c )
by Vicens
06:47
created

InvalidCaptcha   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * @desc 验证码异常类
4
 * @author vicens<[email protected]>
5
 */
6
7
8
namespace Vicens\Captcha\Exceptions;
9
10
use \Exception;
11
use Throwable;
12
13
class InvalidCaptcha extends Exception
14
{
15
16
    public function __construct($message = "Invalid Captcha!", $code = 0, Throwable $previous = null)
17
    {
18
        parent::__construct($message, $code, $previous);
19
    }
20
21
}