| 1 | <?php |
||
| 10 | class SearchTermsReport extends ShopPeriodReport |
||
|
|
|||
| 11 | { |
||
| 12 | protected $title = "Search Terms"; |
||
| 13 | protected $description = "Understand what users are searching for."; |
||
| 14 | protected $dataClass = "SearchLog"; |
||
| 15 | protected $periodfield = "SearchLog.Created"; |
||
| 16 | |||
| 17 | public function columns() |
||
| 29 | |||
| 30 | public function query($params) |
||
| 43 | } |
||
| 44 |
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.