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 @@ -391,7 +391,6 @@ protected function getConfigurableOptionsIds(array $attributeData)
391
391
/**
392
392
* Produce and return block's html output
393
393
*
394
- * @codeCoverageIgnore
395
394
* @return string
396
395
*/
397
396
public function toHtml ()
@@ -406,7 +405,6 @@ public function toHtml()
406
405
/**
407
406
* Return HTML code
408
407
*
409
- * @codeCoverageIgnore
410
408
* @return string
411
409
*/
412
410
protected function _toHtml ()
@@ -428,7 +426,7 @@ protected function getRendererTemplate()
428
426
}
429
427
430
428
/**
431
- * @codeCoverageIgnore
429
+ * @deprecated Now is used _toHtml() directly
432
430
* @return string
433
431
*/
434
432
protected function getHtmlOutput ()
Original file line number Diff line number Diff line change @@ -19,13 +19,17 @@ protected function getRendererTemplate()
19
19
}
20
20
21
21
/**
22
+ * Render block hook
23
+ *
24
+ * Produce and return block's html output
25
+ *
22
26
* @return string
23
27
*/
24
- protected function getHtmlOutput ()
28
+ protected function _toHtml ()
25
29
{
26
30
$ output = '' ;
27
31
if ($ this ->isProductHasSwatchAttribute ()) {
28
- $ output = parent ::getHtmlOutput ();
32
+ $ output = parent ::_toHtml ();
29
33
}
30
34
31
35
return $ output ;
You can’t perform that action at this time.
0 commit comments