Last change: |
docs: add comprehensive docblock comments to validator classes
Added detailed PHPDoc comments to all validator classes in the Validator directory:
- IValidator: Added interface documentation explaining the validator contract
- AValidator: Added abstract class documentation and improved property/method docs
- BasicValidator: Added class and method documentation for basic email format validation
- MxValidator: Added class and method documentation for MX record validation
- BannedListValidator: Added class and method documentation for banned domain validation
- DisposableEmailValidator: Added class and method documentation for disposable email validation
- FreeEmailValidator: Added class and method documentation for free email provider validation
- AProviderValidator: Added class and method documentation for provider list handling
Each class now includes:
- Class-level docblock explaining purpose and functionality
- Property docblocks with detailed descriptions
- Method docblocks with parameter and return value descriptions
- Improved type hints and array type documentation
All tests passing (77 tests, 94 assertions).
|