Completed
Pull Request — master (#4557)
by Daniel
13:19
created
model/ArrayList.php 1 patch
Doc Comments   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
 	 *
380 380
 	 * Note that columns may be double quoted as per ANSI sql standard
381 381
 	 *
382
-	 * @return DataList
382
+	 * @return ArrayList
383 383
 	 * @see SS_List::sort()
384 384
 	 * @example $list->sort('Name'); // default ASC sorting
385 385
 	 * @example $list->sort('Name DESC'); // DESC sorting
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
 	 *          $list = $list->filterAny(array('Name'=>array('bob','phil'), 'Age'=>array(21, 43)));
516 516
 	 *
517 517
 	 * @param string|array See {@link filter()}
518
-	 * @return DataList
518
+	 * @return ArrayList
519 519
 	 */
520 520
 	public function filterAny() {
521 521
 		$keepUs = call_user_func_array(array($this, 'normaliseFilterArgs'), func_get_args());
@@ -666,7 +666,6 @@  discard block
 block discarded – undo
666 666
 	/**
667 667
 	 * Returns whether an item with $key exists
668 668
 	 *
669
-	 * @param mixed $key
670 669
 	 * @return bool
671 670
 	 */
672 671
 	public function offsetExists($offset) {
@@ -676,7 +675,6 @@  discard block
 block discarded – undo
676 675
 	/**
677 676
 	 * Returns item stored in list with index $key
678 677
 	 *
679
-	 * @param mixed $key
680 678
 	 * @return DataObject
681 679
 	 */
682 680
 	public function offsetGet($offset) {
@@ -686,7 +684,6 @@  discard block
 block discarded – undo
686 684
 	/**
687 685
 	 * Set an item with the key in $key
688 686
 	 *
689
-	 * @param mixed $key
690 687
 	 * @param mixed $value
691 688
 	 */
692 689
 	public function offsetSet($offset, $value) {
@@ -700,7 +697,6 @@  discard block
 block discarded – undo
700 697
 	/**
701 698
 	 * Unset an item with the key in $key
702 699
 	 *
703
-	 * @param mixed $key
704 700
 	 */
705 701
 	public function offsetUnset($offset) {
706 702
 		unset($this->items[$offset]);
Please login to merge, or discard this patch.