Skip to content

Commit a107d0f

Browse files
committed
Changed a line which was PHP7.1 exclusive
1 parent 5716049 commit a107d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html5Gen/Html5Gen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public static function __callStatic($name, $arguments)
208208
self::$parentNodes[] = $elem;
209209
$retVal = $arguments[1]();
210210

211-
if (is_iterable($retVal))
211+
if ($retVal instanceof \Traversable)
212212
{
213213
foreach ($retVal as $value)
214214
{

0 commit comments

Comments
 (0)