Skip to content

Commit 1907602

Browse files
committed
Fix parse error
1 parent e801a40 commit 1907602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Validator/ExtractedMethodValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(
2828
$this->extractedMethodName = sprintf(
2929
'validate%s_%s_%s',
3030
str_replace(' ', '', ucfirst($property->getAttribute())),
31-
str_replace('Validator', '', basename(static::class)),
31+
str_replace('Validator', '', substr(strrchr(static::class, '\\'), 1)),
3232
uniqid()
3333
);
3434

0 commit comments

Comments
 (0)