|
@@ -52,7 +52,7 @@ discard block |
|
|
block discarded – undo |
|
52
|
52
|
/** |
|
53
|
53
|
* Set condition decorator interface |
|
54
|
54
|
* @param ConditionDecoratorInterface $cd |
|
55
|
|
- * @return CriteriaInterface |
|
|
55
|
+ * @return DecoratableTrait |
|
56
|
56
|
*/ |
|
57
|
57
|
public function setCd(ConditionDecoratorInterface $cd) |
|
58
|
58
|
{ |
|
@@ -68,7 +68,7 @@ discard block |
|
|
block discarded – undo |
|
68
|
68
|
* Decorate and sanitize criteria with provided model. |
|
69
|
69
|
* @param AnnotatedInterface $model Model to use for decorators and sanitizer when creating conditions. If null no decorators will be used. If model is provided it's sanitizers and decorators will be used. |
|
70
|
70
|
* @param ConditionDecoratorInterface $decorator |
|
71
|
|
- * @return CriteriaInterface |
|
|
71
|
+ * @return DecoratableTrait |
|
72
|
72
|
*/ |
|
73
|
73
|
public function decorateWith($model, ConditionDecoratorInterface $decorator = null) |
|
74
|
74
|
{ |
Please login to merge, or discard this patch.