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

NeedCaptchaAuthException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
crap 2
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