mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Make removeDuplicates() chainable
Added the return to allow removeDuplicates to be chained.
This commit is contained in:
parent
cc0320b2a7
commit
e154aa170c
@ -253,6 +253,8 @@ class ArrayList extends ViewableData implements SS_List, Filterable, Sortable, L
|
||||
if ($renumberKeys) {
|
||||
$this->items = array_values($this->items);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user