Completed
Branch php72 (1b4943)
by John
02:54
created

AuthnetCannotSetParamsException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 3
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * This file is part of the AuthnetJSON package.
6
 *
7
 * (c) John Conde <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace JohnConde\Authnet;
14
15
use Throwable;
16
17
/**
18
 * Exception that is throw when when client code attempts to set a parameter directly (i.e. using __set())
19
 *
20
 * @package    AuthnetJSON
21
 * @author     John Conde <[email protected]>
22
 * @copyright  John Conde <[email protected]>
23
 * @license    http://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0
24
 * @link       https://github.com/stymiee/authnetjson
25
 */
26
class AuthnetCannotSetParamsException extends AuthnetException
27
{
28
    public function __construct(string $message = "", int $code = 0, \Throwable $previous = null)
29
    {
30
        parent::__construct($message, $code, $previous);
31
    }
32
}
33