File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed
app/code/Magento/CatalogInventory/Model/Plugin Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 13
13
14
14
class ProductLinks
15
15
{
16
- /**
17
- * @var Configuration
18
- */
19
- private $ configuration ;
20
-
21
- /**
22
- * @var Stock
23
- */
24
- private $ stockHelper ;
25
16
26
17
/**
27
18
* ProductLinks constructor.
28
19
*
29
20
* @param Configuration $configuration
30
21
* @param Stock $stockHelper
31
22
*/
32
- public function __construct (Configuration $ configuration , Stock $ stockHelper )
33
- {
34
- $ this ->configuration = $ configuration ;
35
- $ this ->stockHelper = $ stockHelper ;
36
- }
23
+ public function __construct (
24
+ public readonly Configuration $ configuration ,
25
+ public readonly Stock $ stockHelper
26
+ ) {}
37
27
38
28
/**
39
29
* Fixes simple products are shown as associated in grouped when set out of stock
You can’t perform that action at this time.
0 commit comments