We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5bb1b0 commit 90c9768Copy full SHA for 90c9768
app/code/Magento/Customer/Model/Validator/Name.php
@@ -41,10 +41,10 @@ public function isValid($customer)
41
/**
42
* Check if name field is valid.
43
*
44
- * @param string $nameValue
+ * @param string|null $nameValue
45
* @return bool
46
*/
47
- private function isValidName(string $nameValue)
+ private function isValidName($nameValue)
48
{
49
if ($nameValue != null) {
50
$pattern = '/(?:[\p{L}\p{M}\,\-\.\'\s]){1,255}+/u';
0 commit comments