File tree 2 files changed +11
-9
lines changed
app/code/Magento/Cms/Model
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 12
12
/**
13
13
* CMS block model
14
14
*
15
- * @method Block setStoreId(array $storeId)
16
- * @method array getStoreId()
15
+ * @method Block setStoreId(int $storeId)
16
+ * @method int getStoreId()
17
17
*/
18
18
class Block extends AbstractModel implements BlockInterface, IdentityInterface
19
19
{
@@ -41,6 +41,8 @@ class Block extends AbstractModel implements BlockInterface, IdentityInterface
41
41
protected $ _eventPrefix = 'cms_block ' ;
42
42
43
43
/**
44
+ * Construct.
45
+ *
44
46
* @return void
45
47
*/
46
48
protected function _construct ()
Original file line number Diff line number Diff line change 16
16
* Cms Page Model
17
17
*
18
18
* @api
19
- * @method Page setStoreId(array $storeId)
20
- * @method array getStoreId()
19
+ * @method Page setStoreId(int $storeId)
20
+ * @method int getStoreId()
21
21
* @SuppressWarnings(PHPMD.ExcessivePublicCount)
22
22
* @since 100.0.2
23
23
*/
@@ -103,8 +103,7 @@ public function getStores()
103
103
}
104
104
105
105
/**
106
- * Check if page identifier exist for specific store
107
- * return page id if page exists
106
+ * Check if page identifier exist for specific store return page id if page exists
108
107
*
109
108
* @param string $identifier
110
109
* @param int $storeId
@@ -116,8 +115,7 @@ public function checkIdentifier($identifier, $storeId)
116
115
}
117
116
118
117
/**
119
- * Prepare page's statuses.
120
- * Available event cms_page_get_available_statuses to customize statuses.
118
+ * Prepare page's statuses, available event cms_page_get_available_statuses to customize statuses.
121
119
*
122
120
* @return array
123
121
*/
@@ -538,7 +536,7 @@ public function setIsActive($isActive)
538
536
}
539
537
540
538
/**
541
- * { @inheritdoc}
539
+ * @inheritdoc
542
540
* @since 101.0.0
543
541
*/
544
542
public function beforeSave ()
@@ -571,6 +569,8 @@ public function beforeSave()
571
569
}
572
570
573
571
/**
572
+ * Returns scope config.
573
+ *
574
574
* @return ScopeConfigInterface
575
575
*/
576
576
private function getScopeConfig ()
You can’t perform that action at this time.
0 commit comments