Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 8d7b186

Browse files
committed
Remove array type for input on InputFilterInterface::add()
array capabilities only exists for InputFilter class but not for their parent BaseInputFilter which is responsible of implement the interface. People with tools warning about type unsafe should typehint against Zend\InputFilter\InputFilter instead Zend\InputFilter\InputFilterInterface Reverts: * zendframework/zendframework#2304 * 8fa4735 * 93b9bd0
1 parent bded51b commit 8d7b186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InputFilterInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface InputFilterInterface extends Countable
1919
/**
2020
* Add an input to the input filter
2121
*
22-
* @param InputInterface|InputFilterInterface|array $input
22+
* @param InputInterface|InputFilterInterface $input
2323
* @param null|string $name Name used to retrieve this input
2424
* @return InputFilterInterface
2525
*/

0 commit comments

Comments
 (0)