| @@ 2729-2736 (lines=8) @@ | ||
| 2726 | * |
|
| 2727 | * @return mixed |
|
| 2728 | */ |
|
| 2729 | public function max() |
|
| 2730 | { |
|
| 2731 | if (\count($this->array, \COUNT_NORMAL) === 0) { |
|
| 2732 | return false; |
|
| 2733 | } |
|
| 2734 | ||
| 2735 | return \max($this->array); |
|
| 2736 | } |
|
| 2737 | ||
| 2738 | /** |
|
| 2739 | * Merge the new $array into the current array. |
|
| @@ 2841-2848 (lines=8) @@ | ||
| 2838 | * |
|
| 2839 | * @return mixed |
|
| 2840 | */ |
|
| 2841 | public function min() |
|
| 2842 | { |
|
| 2843 | if (\count($this->array, \COUNT_NORMAL) === 0) { |
|
| 2844 | return false; |
|
| 2845 | } |
|
| 2846 | ||
| 2847 | return \min($this->array); |
|
| 2848 | } |
|
| 2849 | ||
| 2850 | /** |
|
| 2851 | * Move an array element to a new index. |
|