Skip to content

Commit d8cae2b

Browse files
committed
MC-5824: Remove data migration from main Page Builder module
- Fix introduction of string type within converter
1 parent 8d2f2eb commit d8cae2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilderDataMigration/Setup/DataConverter/BlueFootToPageBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(
4848
* @param string $value
4949
* @return string
5050
*/
51-
public function convert(string $value)
51+
public function convert($value)
5252
{
5353
if (preg_match('/<!--' . Format::BLUEFOOT_KEY . '="(.*)"-->/', $value, $matches)) {
5454
if ($this->validator->validate($matches[1])) {

app/code/Magento/PageBuilderDataMigration/Setup/DataConverter/MixedToPageBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct(
4747
* @param string $value
4848
* @return string
4949
*/
50-
public function convert(string $value)
50+
public function convert($value)
5151
{
5252
if (strstr($value, Format::UNMIGRATED_KEY) !== false) {
5353
return $this->convertMixed($value);

0 commit comments

Comments
 (0)