File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
app/code/Magento/PageBuilder/Setup Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private function generateInternalStyles(array $styleMap): string
66
66
/**
67
67
* @inheritDoc
68
68
*/
69
- public function convert ($ value )
69
+ public function convert ($ value ): string
70
70
{
71
71
libxml_use_internal_errors (true );
72
72
$ document = new DOMDocument ();
Original file line number Diff line number Diff line change 14
14
use Magento \PageBuilder \Setup \UpgradeContentHelper ;
15
15
16
16
/**
17
- * ...
17
+ * Patch Upgrade Mechanism for Converting Inline Styles to Internal
18
18
*/
19
19
class UpgradePageBuilderStripStyles implements DataPatchInterface
20
20
{
@@ -26,9 +26,8 @@ class UpgradePageBuilderStripStyles implements DataPatchInterface
26
26
/**
27
27
* @param UpgradeContentHelper $helper
28
28
*/
29
- public function __construct (
30
- UpgradeContentHelper $ helper
31
- ) {
29
+ public function __construct (UpgradeContentHelper $ helper )
30
+ {
32
31
$ this ->helper = $ helper ;
33
32
}
34
33
@@ -48,15 +47,15 @@ public function apply()
48
47
/**
49
48
* @inheritdoc
50
49
*/
51
- public function getAliases ()
50
+ public function getAliases (): array
52
51
{
53
52
return [];
54
53
}
55
54
56
55
/**
57
56
* @inheritdoc
58
57
*/
59
- public static function getDependencies ()
58
+ public static function getDependencies (): array
60
59
{
61
60
return [];
62
61
}
You can’t perform that action at this time.
0 commit comments