| @@ 2836-2843 (lines=8) @@ | ||
| 2833 | * |
|
| 2834 | * @return mixed |
|
| 2835 | */ |
|
| 2836 | public function max() |
|
| 2837 | { |
|
| 2838 | if (\count($this->getArray(), \COUNT_NORMAL) === 0) { |
|
| 2839 | return false; |
|
| 2840 | } |
|
| 2841 | ||
| 2842 | return \max($this->getArray()); |
|
| 2843 | } |
|
| 2844 | ||
| 2845 | /** |
|
| 2846 | * Merge the new $array into the current array. |
|
| @@ 2964-2971 (lines=8) @@ | ||
| 2961 | * |
|
| 2962 | * @return mixed |
|
| 2963 | */ |
|
| 2964 | public function min() |
|
| 2965 | { |
|
| 2966 | if (\count($this->getArray(), \COUNT_NORMAL) === 0) { |
|
| 2967 | return false; |
|
| 2968 | } |
|
| 2969 | ||
| 2970 | return \min($this->getArray()); |
|
| 2971 | } |
|
| 2972 | ||
| 2973 | /** |
|
| 2974 | * Get the most used value from the array. |
|