1 | <?php |
||
8 | abstract class AbstractReferencedTransactionRequest extends AbstractTransactionRequest |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $reference; |
||
14 | |||
15 | /** |
||
16 | * @param int $reference |
||
17 | * @param int $amount |
||
18 | */ |
||
19 | public function __construct($reference, $amount) |
||
25 | |||
26 | public function getParameters() |
||
34 | } |
||
35 |
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.