1 | <?php |
||
19 | class Cli extends CliController |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Demo module model instance |
||
24 | * @var \gplcart\modules\demo\models\Demo $demo |
||
25 | */ |
||
26 | protected $demo; |
||
27 | |||
28 | /** |
||
29 | * Store model class instance |
||
30 | * @var \gplcart\modules\demo\models\Store $store |
||
31 | */ |
||
32 | protected $store; |
||
33 | |||
34 | /** |
||
35 | * The current demo handler id |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $data_handler_id; |
||
39 | |||
40 | /** |
||
41 | * The current demo store ID |
||
42 | * @var integer |
||
43 | */ |
||
44 | protected $data_store_id; |
||
45 | |||
46 | /** |
||
47 | * @param StoreModel $store |
||
48 | * @param DemoModuleModel $demo |
||
49 | */ |
||
50 | public function __construct(StoreModel $store, DemoModuleModel $demo) |
||
60 | |||
61 | /** |
||
62 | * Handles "demo-create" command |
||
63 | */ |
||
64 | public function createCli() |
||
75 | |||
76 | /** |
||
77 | * Handles "demo-delete" command |
||
78 | */ |
||
79 | public function deleteCli() |
||
90 | |||
91 | /** |
||
92 | * Validates submitted arguments |
||
93 | * @return boolean |
||
94 | */ |
||
95 | protected function validateCli() |
||
106 | |||
107 | } |
||
108 |
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..