You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New method: "toReindexed"
Make a clone of the current collection, indexed by (i.e. keys being changed) the logic provided in a Closure. Very useful for indexing database records, which has a unique column (ID (often AUTO_INCREMENT), UUID, and similar). In case of duplicate keys, the default behavior is that an exception is thrown. However, this may be changed so that no exception is thrown and instead either the first or the last encountered element with the same key is used.
CollectionInterface: Added proper @param Closure type hints, explaning the parameters and return types involved.