Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ All entry points always return an instance of the pipeline.
| `runningCount()` | Counts seen values using a reference argument. | |
| `toList()` | Returns an array with all values. Eagerly executed. | |
| `toAssoc()` | Returns a final array with values and keys. Eagerly executed. | `dict`, `ToDictionary` |
| `toArray()` | Returns a final array. An alias for `toAssoc()` or `toList()`. | |
| `runningVariance()` | Computes online statistics: sample mean, sample variance, standard deviation. | [Welford's method](https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithm) |
| `finalVariance()` | Computes final statistics for the sequence. | |
| `__construct()` | Can be provided with an optional initial iterator. Used in the `take()` function from above. | |
Expand Down
3 changes: 0 additions & 3 deletions src/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -681,9 +681,6 @@ public function toList(): array
return iterator_to_array($this, preserve_keys: false);
}

/**
* @deprecated Use toList() or toAssoc() instead.
*/
public function toArray(bool $preserve_keys): array
{
if ($preserve_keys) {
Expand Down