Skip to content

Commit f77a37a

Browse files
author
Viktor Sevch
committed
MC-39885: Improve customer api
1 parent 7c4a671 commit f77a37a

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Model/Validator

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/Validator/Name.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
class Name extends AbstractValidator
1717
{
18-
const PATTERN_NAME = '/(?:[\p{L}\p{M}\,\-\_\.\'\s\d]){1,255}+/u';
18+
private const PATTERN_NAME = '/(?:[\p{L}\p{M}\,\-\_\.\'\s\d]){1,255}+/u';
1919

2020
/**
2121
* Validate name fields.

0 commit comments

Comments
 (0)