File tree 1 file changed +3
-2
lines changed
lib/internal/Magento/Framework/App 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -50,21 +50,22 @@ class Cron implements \Magento\Framework\AppInterface
50
50
* @param Console\Response $response
51
51
* @param ObjectManagerInterface $objectManager
52
52
* @param array $parameters
53
+ * @param AreaList|null $areaList
53
54
*/
54
55
public function __construct (
55
56
State $ state ,
56
57
Console \Request $ request ,
57
58
Console \Response $ response ,
58
59
ObjectManagerInterface $ objectManager ,
59
60
array $ parameters = [],
60
- \Magento \Framework \App \AreaList $ arealist = null
61
+ \Magento \Framework \App \AreaList $ areaList = null
61
62
) {
62
63
$ this ->_state = $ state ;
63
64
$ this ->_request = $ request ;
64
65
$ this ->_request ->setParams ($ parameters );
65
66
$ this ->_response = $ response ;
66
67
$ this ->objectManager = $ objectManager ;
67
- $ this ->arealist = $ arealist ? : $ this ->objectManager ->get (\Magento \Framework \App \AreaList::class);
68
+ $ this ->areaList = $ areaList ? $ areaList : $ this ->objectManager ->get (\Magento \Framework \App \AreaList::class);
68
69
}
69
70
70
71
/**
You can’t perform that action at this time.
0 commit comments