Skip to content

Commit 99f6c1a

Browse files
committed
Fix type hint of @message declaration as the "setWidgetParameters" method allows arrays too
1 parent 19bec6f commit 99f6c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Widget/Model/Widget/Instance.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @method string getTitle()
1616
* @method \Magento\Widget\Model\Widget\Instance setTitle(string $value)
1717
* @method \Magento\Widget\Model\Widget\Instance setStoreIds(string $value)
18-
* @method \Magento\Widget\Model\Widget\Instance setWidgetParameters(string $value)
18+
* @method \Magento\Widget\Model\Widget\Instance setWidgetParameters(string|array $value)
1919
* @method int getSortOrder()
2020
* @method \Magento\Widget\Model\Widget\Instance setSortOrder(int $value)
2121
* @method \Magento\Widget\Model\Widget\Instance setThemeId(int $value)

0 commit comments

Comments
 (0)