Skip to content

Commit 03c8722

Browse files
committed
remove vestige of traversable iterator_count() code
1 parent 1ebf263 commit 03c8722

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/VarDumpObject.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,6 @@ public function getAbstraction($obj, &$hist = array())
422422
);
423423
if (!$return['isRecursion'] && !$return['excluded']) {
424424
$return['properties'] = $this->getProperties($obj, $hist);
425-
if (in_array('Traversable', $return['implements'])) {
426-
// iterator_count() alters the state of the object!
427-
}
428425
if ($this->debug->varDump->get('collectConstants')) {
429426
$return['constants'] = $reflectionClass->getConstants();
430427
if ($this->debug->varDump->get('objectSort') == 'name') {

0 commit comments

Comments
 (0)