Skip to content

Commit 1cc79ed

Browse files
committed
MC-3392: Hide Content block/ container from the stage
- Fix static failure in PHP
1 parent 9c1f679 commit 1cc79ed

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/PageBuilder/Model/Stage

1 file changed

+4
-4
lines changed

app/code/Magento/PageBuilder/Model/Stage/Config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,16 @@ private function getContentTypes()
135135
}
136136

137137
/**
138-
* Flatten the content type data
138+
* Flatten the content type
139139
*
140-
* @param $name
141-
* @param $contentType
140+
* @param string $name
141+
* @param array $contentType
142142
*
143143
* @return array
144144
*
145145
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
146146
*/
147-
private function flattenContentTypeData($name, $contentType)
147+
private function flattenContentTypeData(string $name, array $contentType)
148148
{
149149
return [
150150
'name' => $name,

0 commit comments

Comments
 (0)