@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Like match, but will throw an exception if there are 0 or more than 1 items matching |
57 | 57 | * |
58 | - * @param array $conditions |
|
58 | + * @param array $contentConditions |
|
59 | 59 | * @return mixed |
60 | 60 | * @throws \Exception |
61 | 61 | */ |
@@ -107,6 +107,9 @@ discard block |
||
107 | 107 | } |
108 | 108 | } |
109 | 109 | |
110 | + /** |
|
111 | + * @param Content $content |
|
112 | + */ |
|
110 | 113 | protected function matchAnd(array $conditionsArray, $content = null) |
111 | 114 | { |
112 | 115 | /// @todo introduce proper re-validation of all child conditions |
@@ -130,6 +133,9 @@ discard block |
||
130 | 133 | return $results; |
131 | 134 | } |
132 | 135 | |
136 | + /** |
|
137 | + * @param Content $content |
|
138 | + */ |
|
133 | 139 | protected function matchOr(array $conditionsArray, $content = null) |
134 | 140 | { |
135 | 141 | /// @todo introduce proper re-validation of all child conditions |