File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/code/Magento/CatalogInventory/Model/Adminhtml/Stock Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2222 * @since 100.0.2
2323 *
2424 * @deprecated 100.3.0 Replaced with Multi Source Inventory
25+ * @see Nothing
2526 * @link https://developer.adobe.com/commerce/webapi/rest/inventory/index.html
2627 * @link https://developer.adobe.com/commerce/webapi/rest/inventory/inventory-api-reference.html
2728 */
@@ -117,6 +118,8 @@ protected function _hasDefaultNotificationMessage()
117118 }
118119
119120 /**
121+ * Check if model is used in admin area
122+ *
120123 * @return bool
121124 */
122125 public function hasAdminArea ()
@@ -125,6 +128,8 @@ public function hasAdminArea()
125128 }
126129
127130 /**
131+ * Flg to show default notification message
132+ *
128133 * @return bool
129134 * @SuppressWarnings(PHPMD.BooleanGetMethodName)
130135 */
@@ -153,5 +158,7 @@ public function afterLoad()
153158 {
154159 parent ::afterLoad ();
155160 $ this ->setOrigData ();
161+
162+ return $ this ;
156163 }
157164}
You can’t perform that action at this time.
0 commit comments