1 | <?php |
||
9 | abstract class AbstractReferencedTransactionRequest extends AbstractTransactionRequest |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $reference; |
||
15 | |||
16 | /** |
||
17 | * @param int $reference |
||
18 | * @param int $amount |
||
19 | */ |
||
20 | public function __construct($reference, $amount) |
||
26 | |||
27 | public function getParameters() |
||
35 | } |
||
36 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.