Skip to content

Commit f83a270

Browse files
Update CreateDefaultStock.php
Fixed static test
1 parent a42d1eb commit f83a270

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,14 @@ public function __construct(
4141
}
4242

4343
/**
44-
* @inheritdoc
44+
* Run code inside patch
45+
* If code fails, patch must be reverted, in case when we are speaking about schema - then under revert
46+
* means run PatchInterface::revert()
47+
*
48+
* If we speak about data, under revert means: $transaction->rollback()
49+
*
50+
* @return void
51+
*
4552
*/
4653
public function apply()
4754
{

0 commit comments

Comments
 (0)