Skip to content

Commit

Permalink
Update Gtin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaiMagal authored Nov 14, 2024
1 parent c87257b commit d911fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Domain/Product/ValueObject/Gtin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Gtin
/**
* Valid gtin regex pattern
*/
public const VALID_PATTERN = '/^[0-9]{0,14}$/';
public const VALID_PATTERN = '/^[0-9]{8,14}$/';

/**
* Maximum allowed symbols
Expand Down

0 comments on commit d911fca

Please sign in to comment.