Skip to content

Commit

Permalink
Remove array keyword to maintain backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hung202028 committed Oct 9, 2024
1 parent 0607bdd commit 01c5b09
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion library/Zend/Form/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@ class Zend_Form_Element implements Zend_Validate_Interface
*/
protected $_validators = [];

protected array $_validatorBreakChainOnFailures = [];
/**
* Flags to break validation chain on failure.
* @var array
*/
protected $_validatorBreakChainOnFailures = [];

/**
* Array of un-initialized validators
Expand Down

0 comments on commit 01c5b09

Please sign in to comment.