@@ -22,35 +22,13 @@ class InspectorHints
2222{
2323 private const XML_PATH_INSPECTOR_ENABLED = 'dev/mageforge_inspector/enabled ' ;
2424
25- private ScopeConfigInterface $ scopeConfig ;
26-
27- private StoreManagerInterface $ storeManager ;
28-
29- private DevHelper $ devHelper ;
30-
31- private InspectorHintsFactory $ inspectorHintsFactory ;
32-
33- private State $ state ;
34-
35- /**
36- * @param ScopeConfigInterface $scopeConfig
37- * @param StoreManagerInterface $storeManager
38- * @param DevHelper $devHelper
39- * @param InspectorHintsFactory $inspectorHintsFactory
40- * @param State $state
41- */
4225 public function __construct (
43- ScopeConfigInterface $ scopeConfig ,
44- StoreManagerInterface $ storeManager ,
45- DevHelper $ devHelper ,
46- InspectorHintsFactory $ inspectorHintsFactory ,
47- State $ state
26+ private readonly ScopeConfigInterface $ scopeConfig ,
27+ private readonly StoreManagerInterface $ storeManager ,
28+ private readonly DevHelper $ devHelper ,
29+ private readonly InspectorHintsFactory $ inspectorHintsFactory ,
30+ private readonly State $ state
4831 ) {
49- $ this ->scopeConfig = $ scopeConfig ;
50- $ this ->storeManager = $ storeManager ;
51- $ this ->devHelper = $ devHelper ;
52- $ this ->inspectorHintsFactory = $ inspectorHintsFactory ;
53- $ this ->state = $ state ;
5432 }
5533
5634 /**
0 commit comments