Code103ResponseException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * This file is part of the slince/smartqq package.
4
 *
5
 * (c) Slince <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Slince\SmartQQ\Exception;
12
13
class Code103ResponseException extends ResponseException
14
{
15
    public function __construct($response = null)
16
    {
17
        $message = 'Please visit http://w.qq.com, confirm that you can send and receive messages and then exit';
18
        parent::__construct(103, $response, $message);
19
    }
20
}
21