Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function test_values( $message ) { |
||
37 | $expected = new XML\DirectTransactionResponseMessage(); |
||
38 | |||
39 | $expected->result = 'ok'; |
||
40 | |||
41 | $expected->transaction = new Transaction(); |
||
|
|||
42 | |||
43 | $expected->transaction->id = '554202bb33498'; |
||
44 | |||
45 | $expected->gateway_info = new GatewayInfo(); |
||
46 | |||
47 | $expected->gateway_info->redirect_url = 'http://testpay.multisafepay.com/simulator/ideal?trxid=10447735643871196&ideal=prob&issuerid=3151&merchantReturnURL=https%3A%2F%2Ftestpay%2Emultisafepay%2Ecom%2Fdirect%2Fcomplete%2F%3Fid%3D9943038943576689'; |
||
48 | $expected->gateway_info->ext_var = 'https://testpay.multisafepay.com/direct/complete/'; |
||
49 | $expected->gateway_info->issuer_id = '3151'; |
||
50 | |||
51 | $this->assertEquals( $expected, $message ); |
||
52 | } |
||
54 |
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..