Skip to content

Commit

Permalink
Loosen typing according to reality
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Apr 9, 2024
1 parent 1f10f7c commit ae67797
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/Zend/File/Transfer/Adapter/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ public function hasErrors()
/**
* Adds a new filter for this class.
*
* @param array|string $filter Type of filter to add
* @param array|string|Zend_Filter_Interface $filter Type of filter to add
* @param array|string $options Options to set for the filter
* @param array|string $files Files to limit this filter to
*
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Filter/Null.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Zend_Filter_Null implements Zend_Filter_Interface
/**
* Constructor.
*
* @param array|string|Zend_Config $options OPTIONAL
* @param array|int|string|Zend_Config $options OPTIONAL
*/
public function __construct($options = null)
{
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -2807,7 +2807,7 @@ protected function _getDecorator($name, $options)
/**
* Add a decorator for rendering the element.
*
* @param string|Zend_Form_Decorator_Interface $decorator
* @param array|string|Zend_Form_Decorator_Interface $decorator
* @param array|Zend_Config $options Options with which to initialize decorator
*
* @return Zend_Form
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function clearValidators()
/**
* Add Filter; proxy to adapter.
*
* @param array|string $filter Type of filter to add
* @param array|string|Zend_Filter_Interface $filter Type of filter to add
* @param array|string $options Options to set for the filter
*
* @return Zend_Form_Element_File
Expand Down

0 comments on commit ae67797

Please sign in to comment.