diff options
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/commerce/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/commerce/index.ts b/src/modules/commerce/index.ts index 12ab94b8..61dd9a9c 100644 --- a/src/modules/commerce/index.ts +++ b/src/modules/commerce/index.ts @@ -254,12 +254,12 @@ export class CommerceModule extends ModuleBase { * Returns a product description. * * @example - * faker.commerce.productDescription() // 'Andy shoes are designed to keeping...' + * faker.commerce.productDescription() // 'Featuring Phosphorus-enhanced technology, our Fish offers unparalleled Modern performance' * * @since 5.0.0 */ productDescription(): string { - return this.faker.helpers.arrayElement( + return this.faker.helpers.fake( this.faker.definitions.commerce.product_description ); } |
