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

Commit 8d9b178

Browse files
committed
Merge branch 'hotfix/161' into develop
Forward port #161
2 parents d158936 + b3c5b0a commit 8d9b178

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ All notable changes to this project will be documented in this file, in reverse
3636

3737
### Fixed
3838

39-
- Nothing.
39+
- [#161](https://github.com/zendframework/zend-form/pull/161) adds an import
40+
statement to the `ElementFactory`, fixing an error whereby checks for
41+
`Traversable` creation options would lead to a service creation exception;
42+
these now correctly identify traversable options and convert them to an array.
4043

4144
## 2.10.1 - 2017-04-26
4245

src/ElementFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace Zend\Form;
1111

12+
use Traversable;
1213
use Interop\Container\ContainerInterface;
1314
use Zend\ServiceManager\Exception\InvalidServiceException;
1415
use Zend\ServiceManager\FactoryInterface;

0 commit comments

Comments
 (0)