Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function test_values( $message ) { |
||
40 | $expected = new XML\RedirectTransactionResponseMessage(); |
||
41 | |||
42 | $expected->result = 'ok'; |
||
43 | |||
44 | $transaction = new Transaction(); |
||
45 | |||
46 | $transaction->id = 'ABCD1234'; |
||
47 | $transaction->payment_url = 'http://www.multisafepay.com/pay/...&lang=en'; |
||
48 | |||
49 | $expected->transaction = $transaction; |
||
|
|||
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..