Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jul 30, 2024
1 parent 53c2e00 commit 4f0de56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ will return:
* [count()](#count) : Returns the total number of elements
* [countBy()](#countby) : Counts how often the same values are in the map
* [max()](#max) : Returns the maximum value of all elements
* [min()](#max) : Returns the minium value of all elements
* [min()](#min) : Returns the minium value of all elements
* [sum()](#sum) : Returns the sum of all values in the map

### Debug
Expand Down Expand Up @@ -803,7 +803,7 @@ Map::from( [1, 3, 5] )->at( 3 );
Returns the average of all integer and float values in the map.

```php
public function avg( string $col = null ) : float
public function avg( $col = null ) : float
```

* @param **Closure|string|null** `$col` Closure, key or path to the values in the nested array or object to compute the average for
Expand Down

0 comments on commit 4f0de56

Please sign in to comment.