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

Commit a362de1

Browse files
authored
Give PHP the absolute import path to Traversable
Otherwise, the check for `instanceof Traversable` would always return false. See https://3v4l.org/YgpKg This affects setCreationOptions on line 121
1 parent 083f794 commit a362de1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)