mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-22 00:33:33 +00:00
Polish
This commit is contained in:
@@ -6,22 +6,26 @@ interface Result
|
||||
{
|
||||
/**
|
||||
* Is validation result valid?
|
||||
*
|
||||
*/
|
||||
public function isValid() : bool;
|
||||
public function isValid(): bool;
|
||||
|
||||
/**
|
||||
* Is validation result invalid?
|
||||
* Usually the inverse of isValid()
|
||||
*
|
||||
*/
|
||||
public function isInvalid() : bool;
|
||||
public function isInvalid(): bool;
|
||||
|
||||
/**
|
||||
* Short description of the result, human readable.
|
||||
*
|
||||
*/
|
||||
public function description() : string;
|
||||
public function description(): string;
|
||||
|
||||
/**
|
||||
* Code for user land to act upon.
|
||||
*
|
||||
*/
|
||||
public function code() : int;
|
||||
public function code(): int;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user