Skip to content

Commit c7d48b6

Browse files
ENGCOM-3146: Fix type hint of @message declaration as the 'setWidgetParameters' method allows arrays too #18155
- Merge Pull Request #18155 from avstudnitz/magento2:fix-widget-instance-method-hint - Merged commits: 1. 99f6c1a
2 parents 14abbe3 + 99f6c1a commit c7d48b6

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)