Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 5 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | interface ShopSearchAdapter |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * @param string $keywords |
||
13 | * @param array $filters [optional] |
||
14 | * @param array $facetSpec [optional] |
||
15 | * @param int $start [optional] |
||
16 | * @param int $limit [optional] |
||
17 | * @param string $sort [optional] |
||
18 | * @return ArrayData - must contain at least 'Matches' with an list of data objects that match the search |
||
19 | */ |
||
20 | public function searchFromVars($keywords, array $filters=array(), array $facetSpec=array(), $start=-1, $limit=-1, $sort=''); |
||
21 | } |
||
22 |
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.