Skip to content

Commit 8dbc15f

Browse files
Update UpdateStockItemsWebsite.php, fixed static tests
1 parent f83a270 commit 8dbc15f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/code/Magento/CatalogInventory/Setup/Patch/Data/UpdateStockItemsWebsite.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ public function __construct(
5656
}
5757

5858
/**
59-
* @inheritdoc
59+
* Run code inside patch
60+
* If code fails, patch must be reverted, in case when we are speaking about schema - then under revert
61+
* means run PatchInterface::revert()
62+
*
63+
* If we speak about data, under revert means: $transaction->rollback()
64+
*
65+
* @return void
6066
*/
6167
public function apply()
6268
{

0 commit comments

Comments
 (0)