| 1 | <?php |
||
| 7 | class ShortListPaginationExtension extends DataExtension { |
||
|
1 ignored issue
–
show
|
|||
| 8 | /** |
||
| 9 | * Get a paginated list of the shortlist items. |
||
| 10 | * |
||
| 11 | * @return mixed the paginated list of items, or false if the list cannot be found. |
||
| 12 | * */ |
||
| 13 | public function paginatedItems() |
||
| 36 | |||
| 37 | public function nextPage() |
||
| 45 | |||
| 46 | public function prevPage() |
||
| 54 | } |
||
| 55 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.