Closed drdev closed 12 years ago
Does the unit test for it fail?
Actually no, this is all correct, see: http://www.php.net/manual/de/spldoublylinkedlist.bottom.php
"SplDoublyLinkedList::bottom — Peeks at the node from the beginning of the doubly linked list" "The value of the first node."
$file->bottom()->getType() !== T_OPEN_TAG
should be$file->top()->getType() !== T_OPEN_TAG
, shouldn't it?