| @@ 2824-2831 (lines=8) @@ | ||
| 2821 | * |
|
| 2822 | * @return mixed |
|
| 2823 | */ |
|
| 2824 | public function max() |
|
| 2825 | { |
|
| 2826 | if (\count($this->getArray(), \COUNT_NORMAL) === 0) { |
|
| 2827 | return false; |
|
| 2828 | } |
|
| 2829 | ||
| 2830 | return \max($this->getArray()); |
|
| 2831 | } |
|
| 2832 | ||
| 2833 | /** |
|
| 2834 | * Merge the new $array into the current array. |
|
| @@ 2952-2959 (lines=8) @@ | ||
| 2949 | * |
|
| 2950 | * @return mixed |
|
| 2951 | */ |
|
| 2952 | public function min() |
|
| 2953 | { |
|
| 2954 | if (\count($this->getArray(), \COUNT_NORMAL) === 0) { |
|
| 2955 | return false; |
|
| 2956 | } |
|
| 2957 | ||
| 2958 | return \min($this->getArray()); |
|
| 2959 | } |
|
| 2960 | ||
| 2961 | /** |
|
| 2962 | * Get the most used value from the array. |
|