|
@@ -329,7 +329,7 @@ discard block |
|
|
block discarded – undo |
|
329
|
329
|
* operator. |
|
330
|
330
|
* |
|
331
|
331
|
* @param \Cake\ORM\Query $query The query to be scope |
|
332
|
|
- * @param \Search\TokenInterface $token Token describing an operator. e.g |
|
|
332
|
+ * @param TokenInterface $token Token describing an operator. e.g |
|
333
|
333
|
* `-op_name:op_value` |
|
334
|
334
|
* @return \Cake\ORM\Query Scoped query |
|
335
|
335
|
*/ |
|
@@ -370,7 +370,7 @@ discard block |
|
|
block discarded – undo |
|
370
|
370
|
* handling an operator named either `author-name` or `author_name`. |
|
371
|
371
|
* |
|
372
|
372
|
* @param \Cake\ORM\Query $query The query that is expected to be scoped |
|
373
|
|
- * @param \Search\TokenInterface $token Token describing an operator. e.g `-op_name:op_value` |
|
|
373
|
+ * @param TokenInterface $token Token describing an operator. e.g `-op_name:op_value` |
|
374
|
374
|
* @return mixed Scoped query object expected or null if event was not captured by any listener |
|
375
|
375
|
*/ |
|
376
|
376
|
protected function _triggerOperator(Query $query, TokenInterface $token) |
Please login to merge, or discard this patch.