for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Interface for shop search drivers.
*
* @author Mark Guinn <[email protected]>
* @date 09.03.2013
* @package shop_search
*/
interface ShopSearchAdapter
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
* @param string $keywords
* @param array $filters [optional]
* @param array $facetSpec [optional]
* @param int $start [optional]
* @param int $limit [optional]
* @param string $sort [optional]
* @return ArrayData - must contain at least 'Matches' with an list of data objects that match the search
public function searchFromVars($keywords, array $filters=array(), array $facetSpec=array(), $start=-1, $limit=-1, $sort='');
}
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.