You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As one can see in the Java port, it's much better to provide the user with whatever countries are supported rather than have them guess or research what countries can be used:
socrates.validateId('abcd', Country.PT);
As proud as I am of our exception handling for this case, we should create constants for each country and remove it.
e.g.:
$socrates->validateId('xpto', Country::PT);
or
$socrates->validateId('xpto', Country::PORTUGAL);
The text was updated successfully, but these errors were encountered:
As one can see in the Java port, it's much better to provide the user with whatever countries are supported rather than have them guess or research what countries can be used:
As proud as I am of our exception handling for this case, we should create constants for each country and remove it.
e.g.:
or
The text was updated successfully, but these errors were encountered: