Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function ensureThatICanAddPrices(Manager $I) |
||
37 | { |
||
38 | $I->needPage(Url::to(['@plan/view', 'id' => $this->id])); |
||
39 | $I->see('No prices found'); |
||
40 | $price = new PriceCertificateCreate($I, $this->id); |
||
41 | $price->addPrices('Certificate tariff'); |
||
42 | $price->ensureThereNoSuggestions('Certificate tariff'); |
||
43 | } |
||
44 | |||
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.