Skip to content

Commit 1f9c13f

Browse files
committed
MC-1439: Define API & SPI and mark accordingly
1 parent a67dd7e commit 1f9c13f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/PageBuilder/Setup/DataConverter/ChildrenRenderer/Concatenation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Concatenation implements ChildrenRendererInterface
1717
/**
1818
* {@inheritdoc}
1919
*/
20-
public function render(array $children, $renderChildCallback) : array
20+
public function render(array $children, $renderChildCallback) : string
2121
{
2222
$childHtml = '';
2323
foreach ($children as $childIndex => $childItem) {

app/code/Magento/PageBuilder/Setup/DataConverter/ChildrenRenderer/Row.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Row implements ChildrenRendererInterface
1818
/**
1919
* {@inheritdoc}
2020
*/
21-
public function render(array $children, $renderChildCallback) : array
21+
public function render(array $children, $renderChildCallback) : string
2222
{
2323
$childHtml = '';
2424
$columns = [];

app/code/Magento/PageBuilder/Setup/DataConverter/TreeConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ function () use ($itemData) {
197197
* @throws UnableMigrateWithOutParentException
198198
*/
199199
private function handleRenderException(
200-
\Exception $exception,
200+
\Exception $exception,
201201
RendererInterface $defaultRenderer,
202202
array $itemData,
203203
array $itemAdditionalData
204-
) : string {
204+
): string {
205205
if ($this->isUnseparatableContentType($itemData)) {
206206
throw new UnableMigrateWithOutParentException(
207207
__('Content type can not be migrated with out parent.'),

0 commit comments

Comments
 (0)