Skip to content

Commit 3449a8b

Browse files
norkunasNyholm
authored andcommitted
Fix default configured service for validator (#214)
1 parent fde468a commit 3449a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Validator/Constraint/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Address extends Constraint
2828
self::INVALID_ADDRESS_ERROR => 'INVALID_ADDRESS_ERROR',
2929
];
3030

31-
public $service = 'Bazinga\GeocoderBundle\Validator\Constraints\AddressValidator';
31+
public $service = AddressValidator::class;
3232

3333
public $message = 'Address {{ address }} is not valid.';
3434

0 commit comments

Comments
 (0)