diff --git a/src/Validator/PostCode.php b/src/Validator/PostCode.php index b0e92d6a..9b513e5e 100644 --- a/src/Validator/PostCode.php +++ b/src/Validator/PostCode.php @@ -302,6 +302,9 @@ public function setFormat($format) /** * Returns the actual set service * + * @deprecated since 2.12.0, this method will be removed in version 3.0.0 of this component. + * Additional validations should be done via a validation chain. + * * @return mixed|null */ public function getService() @@ -312,6 +315,9 @@ public function getService() /** * Sets a new callback for service validation * + * @deprecated since 2.12.0, this method will be removed in version 3.0.0 of this component. + * Additional validations should be done via a validation chain. + * * @param mixed|null $service * @return $this */