File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/code/Magento/Customer/Block Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,16 @@ class CustomerScopeData extends \Magento\Framework\View\Element\Template
25
25
private $ serializer ;
26
26
27
27
/**
28
+ * CustomerScopeData constructor.
28
29
* @param \Magento\Framework\View\Element\Template\Context $context
29
- * @param $jsonEncoder
30
+ * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
30
31
* @param array $data
31
32
* @param \Magento\Framework\Serialize\Serializer\Json|null $serializer
32
- * @SuppressWarnings(PHPMD.UnusedFormalParameter)
33
+ * @throws \RuntimeException
33
34
*/
34
35
public function __construct (
35
36
\Magento \Framework \View \Element \Template \Context $ context ,
36
- $ jsonEncoder ,
37
+ \ Magento \ Framework \ Json \ EncoderInterface $ jsonEncoder ,
37
38
array $ data = [],
38
39
\Magento \Framework \Serialize \Serializer \Json $ serializer = null
39
40
) {
You can’t perform that action at this time.
0 commit comments