mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8282 from mspacemedia/patch-1
Make removeDuplicates() chainable
This commit is contained in:
commit
aa5adaf958
@ -253,6 +253,8 @@ class ArrayList extends ViewableData implements SS_List, Filterable, Sortable, L
|
|||||||
if ($renumberKeys) {
|
if ($renumberKeys) {
|
||||||
$this->items = array_values($this->items);
|
$this->items = array_values($this->items);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user