Skip to content

Commit b6c83a1

Browse files
committed
More fixes
1 parent a433351 commit b6c83a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content_management/data_migration/data_migration_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To list all migration files available in the directory defined in configuration
1717
To get a single migration file by its name, use the `MigrationService:findOneByName()` method:
1818

1919
``` php
20-
[[= include_file('code_samples/api/migration/src/Command/MigrationCommand.php', 35, 36) =]]
20+
[[= include_file('code_samples/api/migration/src/Command/MigrationCommand.php', 36, 37) =]]
2121
```
2222

2323
## Running migration files

docs/pim/product_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Provide the method with the product type object and the main language code.
4747
You also need to set (at least) the code for the product and the required Field of the underlying content type, `name`:
4848

4949
``` php
50-
[[= include_file('code_samples/api/product_catalog/src/Command/ProductCommand.php', 79, 83) =]]
50+
[[= include_file('code_samples/api/product_catalog/src/Command/ProductCommand.php', 71, 76) =]]
5151
```
5252

5353
To delete a product, use `LocalProductServiceInterface::deleteProduct()`:

0 commit comments

Comments
 (0)