Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
  • Loading branch information
Shinigami92 and ST-DDT committed Mar 8, 2023
1 parent df5fd01 commit 55b1f69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/color/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export class ColorModule {
* @since 7.0.0
*/
cssSupportedFunction(): string {
return this.faker.helpers.arrayElement(Object.values(CssFunction));
return this.faker.helpers.objectValue(CssFunction);
}

/**
Expand All @@ -224,7 +224,7 @@ export class ColorModule {
* @since 7.0.0
*/
cssSupportedSpace(): string {
return this.faker.helpers.arrayElement(Object.values(CssSpace));
return this.faker.helpers.objectValue(CssSpace);
}

/**
Expand Down

0 comments on commit 55b1f69

Please sign in to comment.