Skip to content

Commit

Permalink
Fix docblocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 13, 2018
1 parent 9eb80e2 commit 9dd65fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Model/SearchTrait.php
Expand Up @@ -93,7 +93,7 @@ public function searchManager()
* name exists.
*
* @param array $params The parameters array to extract from.
* @param \Search\Model\Filter\Base[] $filters The filters to match against.
* @param \Search\Model\Filter\FilterInterface[]|\Search\Model\Filter\FilterCollectionInterface $filters The filters to match against.
* @return array The extracted parameters.
*/
protected function _extractParams($params, $filters)
Expand Down Expand Up @@ -145,7 +145,7 @@ protected function _extractParams($params, $filters)
* ```
*
* @param array $params The parameters array to flatten.
* @param array $filters The array of filters with configuration
* @param \Search\Model\Filter\FilterInterface[]|\Search\Model\Filter\FilterCollectionInterface $filters The array of filters with configuration
* @return array The flattened parameters array.
*/
protected function _flattenParams($params, $filters)
Expand Down Expand Up @@ -175,7 +175,7 @@ protected function _flattenParams($params, $filters)
* Gets all filters by the default or given collection from the search manager
*
* @param string|null $collection name of collection
* @return \Search\Model\Filter\Base[] An array of filters for the defined fields.
* @return \Search\Model\Filter\FilterInterface[] An array of filters for the defined fields.
*/
protected function _getFilters($collection = 'default')
{
Expand All @@ -185,7 +185,7 @@ protected function _getFilters($collection = 'default')
/**
* Processes the given filters.
*
* @param \Search\Model\Filter\Base[] $filters The filters to process.
* @param \Search\Model\Filter\FilterInterface[]|\Search\Model\Filter\FilterCollectionInterface $filters The filters to process.
* @param array $params The parameters to pass to the filters.
* @param \Cake\Datasource\QueryInterface $query The query to pass to the filters.
* @return \Cake\Datasource\QueryInterface The query processed by the filters.
Expand Down

0 comments on commit 9dd65fb

Please sign in to comment.