Passed
Push — master ( 61f080...c2fff9 )
by xu
04:40 queued 50s
created

NeedCaptchaAuthException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the godruoyi/laravel-tencent007-captcha.
5
 *
6
 * (c) Godruoyi <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled.
9
 */
10
11
namespace Godruoyi\Tencent007\Exceptions;
12
13
use Symfony\Component\HttpKernel\Exception\HttpException;
14
15
class NeedCaptchaAuthException extends HttpException
16
{
17
    public function __construct($statusCode = 429, $message = 'Need tencent captcha certification.')
18
    {
19
        parent::__construct($statusCode, $message);
20
    }
21
}
22