@@ -22,19 +22,19 @@ class Config
22
22
/**
23
23
* @var \Magento\Catalog\Model\Config
24
24
*/
25
- private $ _catalogConfig ;
25
+ private $ catalogConfig ;
26
26
27
27
/**
28
28
* @var \Magento\Catalog\Model\Attribute\Config
29
29
*/
30
- private $ _attributeConfig ;
30
+ private $ attributeConfig ;
31
31
32
32
/**
33
33
* Number of emails allowed for sharing wishlist
34
34
*
35
35
* @var int
36
36
*/
37
- private $ _sharingEmailLimit ;
37
+ private $ sharingEmailLimit ;
38
38
39
39
/**
40
40
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
@@ -54,10 +54,10 @@ public function __construct(
54
54
self ::XML_PATH_SHARING_TEXT_LIMIT ,
55
55
\Magento \Store \Model \ScopeInterface::SCOPE_STORE
56
56
);
57
- $ this ->_sharingEmailLimit = $ emailLimitInConfig ?: self ::SHARING_EMAIL_LIMIT ;
57
+ $ this ->sharingEmailLimit = $ emailLimitInConfig ?: self ::SHARING_EMAIL_LIMIT ;
58
58
$ this ->_sharignTextLimit = $ textLimitInConfig ?: self ::SHARING_TEXT_LIMIT ;
59
- $ this ->_catalogConfig = $ catalogConfig ;
60
- $ this ->_attributeConfig = $ attributeConfig ;
59
+ $ this ->catalogConfig = $ catalogConfig ;
60
+ $ this ->attributeConfig = $ attributeConfig ;
61
61
}
62
62
63
63
/**
@@ -67,8 +67,8 @@ public function __construct(
67
67
*/
68
68
public function getProductAttributes ()
69
69
{
70
- $ catalogAttributes = $ this ->_catalogConfig ->getProductAttributes ();
71
- $ wishlistAttributes = $ this ->_attributeConfig ->getAttributeNames ('wishlist_item ' );
70
+ $ catalogAttributes = $ this ->catalogConfig ->getProductAttributes ();
71
+ $ wishlistAttributes = $ this ->attributeConfig ->getAttributeNames ('wishlist_item ' );
72
72
return array_merge ($ catalogAttributes , $ wishlistAttributes );
73
73
}
74
74
@@ -79,7 +79,7 @@ public function getProductAttributes()
79
79
*/
80
80
public function getSharingEmailLimit ()
81
81
{
82
- return $ this ->_sharingEmailLimit ;
82
+ return $ this ->sharingEmailLimit ;
83
83
}
84
84
85
85
/**
0 commit comments