summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TQueue.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php
index 5e10ecdf..581a7109 100644
--- a/framework/Collections/TQueue.php
+++ b/framework/Collections/TQueue.php
@@ -105,7 +105,8 @@ class TQueue extends TComponent implements IteratorAggregate,Countable
}
/**
- * Returns the item at the top of the queue.
+ * Returns the first item at the front of the queue.
+ * Unlike {@link dequeue()}, this method does not remove the item from the queue.
* @return mixed item at the top of the queue
* @throws TInvalidOperationException if the queue is empty
*/