1 | <?php |
||
11 | class CertificateCrudCest |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $id; |
||
17 | |||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | private $fields; |
||
22 | |||
23 | public function ensureThatICanCreateTariffPlan(Manager $I): void |
||
35 | |||
36 | public function ensureThatICanAddPrices(Manager $I) |
||
44 | |||
45 | public function ensureICanUpdatePrices(Manager $I) |
||
50 | } |
||
51 |
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.