# $orderPage->next()

> Returns the next item in the collection if available

- Source: `src/Cms/HasSiblings.php#L88` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/HasSiblings.php#L88>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$orderPage->next(TCollection|null $collection = null): Kirby\Cms\Page|null
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$collection` | `TCollection\|null` | `null` |

## Return type

`Kirby\Cms\Page|null`

## Parent class

`Wagnerwagner\Merx\OrderPage` inherited from `Kirby\Cms\Page`
