summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Collections/TList.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index f3e2953d..8d9fd033 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -248,7 +248,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
* Finds the base item. If found, the item is inserted before it.
* @param mixed the base item which will be pushed back by the second parameter
* @param mixed the item
- * @return object $this. null if the $baseitem is not found
+ * @return int the index where the item is inserted
* @since 3.2a
*/
public function insertBefore($baseitem, $item)
@@ -265,7 +265,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
* Finds the base item. If found, the item is inserted after it.
* @param mixed the base item which comes before the second parameter when added to the list
* @param mixed the item
- * @return object $this. null if the $baseitem is not found
+ * @return int the index where the item is inserted
* @since 3.2a
*/
public function insertAfter($baseitem, $item)