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