| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function compose(array $parameters) |
||
| 48 | { |
||
| 49 | $parameters = array_change_key_case($parameters, CASE_LOWER); |
||
| 50 | |||
| 51 | return strtoupper(hash($this->hashAlgorithm, implode('', array( |
||
| 52 | $parameters['orderid'], |
||
| 53 | $parameters['currency'], |
||
| 54 | $parameters['amount'], |
||
| 55 | $parameters['pm'], |
||
| 56 | $parameters['acceptance'], |
||
| 57 | $parameters['status'], |
||
| 58 | $parameters['cardno'], |
||
| 59 | $parameters['payid'], |
||
| 60 | $parameters['ncerror'], |
||
| 61 | $parameters['brand'], |
||
| 62 | $this->passphrase |
||
| 63 | )))); |
||
| 64 | } |
||
| 65 | } |
||
| 66 |
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..