Fix PHPStan errors (#20603)

This commit is contained in:
Maksim Spirkov
2025-10-14 12:38:07 +03:00
committed by GitHub
parent d71f7309ae
commit 287d0fa074
7 changed files with 18 additions and 11 deletions

View File

@ -95,11 +95,11 @@ class Model extends Component implements StaticInstanceInterface, IteratorAggreg
public const EVENT_AFTER_VALIDATE = 'afterValidate';
/**
* @var array validation errors (attribute name => array of errors)
* @var array|null validation errors (attribute name => array of errors)
*/
private $_errors;
/**
* @var ArrayObject list of validators
* @var ArrayObject|null list of validators
*/
private $_validators;
/**