Total Complexity | 2 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class DirectTransactionResponseMessage { |
||
20 | /** |
||
21 | * Result |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | public $result; |
||
26 | |||
27 | /** |
||
28 | * Transaction |
||
29 | * |
||
30 | * @var DirectTransactionResponseMessage |
||
31 | */ |
||
32 | public $transaction; |
||
33 | |||
34 | /** |
||
35 | * Gateway info. |
||
36 | * |
||
37 | * @var GatewayInfo |
||
38 | */ |
||
39 | public $gateway_info; |
||
40 | |||
41 | /** |
||
42 | * Parse the specified XML element into an iDEAL transaction object |
||
43 | * |
||
44 | * @param SimpleXMLElement $xml |
||
45 | * |
||
46 | * @return DirectTransactionResponseMessage |
||
47 | */ |
||
48 | 2 | public static function parse( SimpleXMLElement $xml ) { |
|
69 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..