Skip to content

[Feature in SDK]: Change method signature markMobilePhoneAsVerified() in ContactInterface #349

@KarlsonComplete

Description

@KarlsonComplete

Description

The markEmailAsVerified method in the ContactInterface needs to be updated.
Current definition:
public function markMobilePhoneAsVerified(): void
Should be changed to:
public function markMobilePhoneAsVerified(?CarbonImmutable $verifiedAt = null): void

Eng desc:
I believe the timestamp doesn’t have to be passed explicitly — in most cases, setting the current time inside the method is enough. However, if we’re concerned about potential service delays or time differences between systems, it’s safer to provide the timestamp explicitly.
Ru desc:
Я считаю, что метку времени необязательно передавать — в большинстве случаев достаточно установить текущее время внутри метода. Но если есть опасения, связанные с задержками сервиса или разницей во времени между системами, тогда действительно лучше передавать её явно.

Example

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions