mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix type hint
This commit is contained in:
parent
59417c16a9
commit
cadc00fd3a
|
|
@ -27,14 +27,14 @@ interface ValidatorInterface
|
|||
/**
|
||||
* Check if value is valid.
|
||||
*
|
||||
* @param mixed $value Value to validate
|
||||
* @param array $constraints Constraints for validation
|
||||
* @param mixed $value Value to validate
|
||||
* @param null|array $constraints Constraints for validation
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function isValid(mixed $value, array $constraints = null);
|
||||
public static function isValid(mixed $value, array $constraints = null) : bool;
|
||||
|
||||
/**
|
||||
* Get most recent error string.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user