File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
app/code/Magento/Swatches/Block/Product/Renderer Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,6 @@ protected function getConfigurableOptionsIds(array $attributeData)
392
392
/**
393
393
* Produce and return block's html output
394
394
*
395
- * @codeCoverageIgnore
396
395
* @return string
397
396
*/
398
397
public function toHtml ()
@@ -407,7 +406,6 @@ public function toHtml()
407
406
/**
408
407
* Return HTML code
409
408
*
410
- * @codeCoverageIgnore
411
409
* @return string
412
410
*/
413
411
protected function _toHtml ()
@@ -429,7 +427,7 @@ protected function getRendererTemplate()
429
427
}
430
428
431
429
/**
432
- * @codeCoverageIgnore
430
+ * @deprecated Now is used _toHtml() directly
433
431
* @return string
434
432
*/
435
433
protected function getHtmlOutput ()
Original file line number Diff line number Diff line change @@ -21,13 +21,17 @@ protected function getRendererTemplate()
21
21
}
22
22
23
23
/**
24
+ * Render block hook
25
+ *
26
+ * Produce and return block's html output
27
+ *
24
28
* @return string
25
29
*/
26
- protected function getHtmlOutput ()
30
+ protected function _toHtml ()
27
31
{
28
32
$ output = '' ;
29
33
if ($ this ->isProductHasSwatchAttribute ()) {
30
- $ output = parent ::getHtmlOutput ();
34
+ $ output = parent ::_toHtml ();
31
35
}
32
36
33
37
return $ output ;
You can’t perform that action at this time.
0 commit comments