Total Complexity | 1 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class RedirectTransactionResponseMessage { |
||
19 | /** |
||
20 | * Result |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | public $result; |
||
25 | |||
26 | /** |
||
27 | * Transaction |
||
28 | * |
||
29 | * @var DirectTransactionResponseMessage |
||
30 | */ |
||
31 | public $transaction; |
||
32 | |||
33 | /** |
||
34 | * Parse the specified XML element into an iDEAL transaction object |
||
35 | * |
||
36 | * @param SimpleXMLElement $xml |
||
37 | * |
||
38 | * @return RedirectTransactionResponseMessage |
||
39 | */ |
||
40 | 1 | public static function parse( SimpleXMLElement $xml ) { |
|
49 |
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..