| @@ 2345-2352 (lines=8) @@ | ||
| 2342 | * |
|
| 2343 | * @return mixed |
|
| 2344 | */ |
|
| 2345 | public function max() |
|
| 2346 | { |
|
| 2347 | if (\count($this->array, \COUNT_NORMAL) === 0) { |
|
| 2348 | return false; |
|
| 2349 | } |
|
| 2350 | ||
| 2351 | return \max($this->array); |
|
| 2352 | } |
|
| 2353 | ||
| 2354 | /** |
|
| 2355 | * Merge the new $array into the current array. |
|
| @@ 2457-2464 (lines=8) @@ | ||
| 2454 | * |
|
| 2455 | * @return mixed |
|
| 2456 | */ |
|
| 2457 | public function min() |
|
| 2458 | { |
|
| 2459 | if (\count($this->array, \COUNT_NORMAL) === 0) { |
|
| 2460 | return false; |
|
| 2461 | } |
|
| 2462 | ||
| 2463 | return \min($this->array); |
|
| 2464 | } |
|
| 2465 | ||
| 2466 | /** |
|
| 2467 | * Move an array element to a new index. |
|