We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1f679 commit 1cc79edCopy full SHA for 1cc79ed
app/code/Magento/PageBuilder/Model/Stage/Config.php
@@ -135,16 +135,16 @@ private function getContentTypes()
135
}
136
137
/**
138
- * Flatten the content type data
+ * Flatten the content type
139
*
140
- * @param $name
141
- * @param $contentType
+ * @param string $name
+ * @param array $contentType
142
143
* @return array
144
145
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
146
*/
147
- private function flattenContentTypeData($name, $contentType)
+ private function flattenContentTypeData(string $name, array $contentType)
148
{
149
return [
150
'name' => $name,
0 commit comments