Skip to content

Commit ef5a50e

Browse files
fixed issue #22767, changed the magic method type
changed the magic method type for Block Model as well
1 parent a12ecfd commit ef5a50e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/Cms/Model/Block.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
/**
1313
* CMS block model
1414
*
15-
* @method Block setStoreId(array $storeId)
16-
* @method array getStoreId()
15+
* @method Block setStoreId(int $storeId)
16+
* @method int getStoreId()
1717
*/
1818
class Block extends AbstractModel implements BlockInterface, IdentityInterface
1919
{

app/code/Magento/Cms/Model/Page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* Cms Page Model
1717
*
1818
* @api
19-
* @method Page setStoreId(array $storeId)
20-
* @method array getStoreId()
19+
* @method Page setStoreId(int $storeId)
20+
* @method int getStoreId()
2121
* @SuppressWarnings(PHPMD.ExcessivePublicCount)
2222
* @since 100.0.2
2323
*/

0 commit comments

Comments
 (0)