Skip to content

Commit ae67797

Browse files
committed
Loosen typing according to reality
1 parent 1f10f7c commit ae67797

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

library/Zend/File/Transfer/Adapter/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ public function hasErrors()
764764
/**
765765
* Adds a new filter for this class.
766766
*
767-
* @param array|string $filter Type of filter to add
767+
* @param array|string|Zend_Filter_Interface $filter Type of filter to add
768768
* @param array|string $options Options to set for the filter
769769
* @param array|string $files Files to limit this filter to
770770
*

library/Zend/Filter/Null.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Zend_Filter_Null implements Zend_Filter_Interface
4949
/**
5050
* Constructor.
5151
*
52-
* @param array|string|Zend_Config $options OPTIONAL
52+
* @param array|int|string|Zend_Config $options OPTIONAL
5353
*/
5454
public function __construct($options = null)
5555
{

library/Zend/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2807,7 +2807,7 @@ protected function _getDecorator($name, $options)
28072807
/**
28082808
* Add a decorator for rendering the element.
28092809
*
2810-
* @param string|Zend_Form_Decorator_Interface $decorator
2810+
* @param array|string|Zend_Form_Decorator_Interface $decorator
28112811
* @param array|Zend_Config $options Options with which to initialize decorator
28122812
*
28132813
* @return Zend_Form

library/Zend/Form/Element/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function clearValidators()
319319
/**
320320
* Add Filter; proxy to adapter.
321321
*
322-
* @param array|string $filter Type of filter to add
322+
* @param array|string|Zend_Filter_Interface $filter Type of filter to add
323323
* @param array|string $options Options to set for the filter
324324
*
325325
* @return Zend_Form_Element_File

0 commit comments

Comments
 (0)