Total Complexity | 3 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class SoapFaultException extends RuntimeException |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | public $code; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | public $reason; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | public $node; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | public $detail; |
||
34 | |||
35 | /** |
||
36 | * SoapFaultException constructor. |
||
37 | * |
||
38 | * @param string $code |
||
39 | * @param string $reason |
||
40 | * @param string|null $node |
||
41 | * @param array|null $detail |
||
42 | */ |
||
43 | 7 | public function __construct(string $code, string $reason, string $node = null, array $detail = null) |
|
61 | 7 | } |
|
62 | |||
63 | 7 | public function getFaultCode(): string |
|
68 |