@@ -147,6 +147,9 @@ |
||
| 147 | 147 | return $refs; |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | + /** |
|
| 151 | + * @param integer $status |
|
| 152 | + */ |
|
| 150 | 153 | protected function versionStatusToHash($status) |
| 151 | 154 | { |
| 152 | 155 | foreach(ContentVersionMatcher::STATUS_MAP as $own => $ez) { |
@@ -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) |
| 111 | 114 | { |
| 112 | 115 | /// @todo introduce proper re-validation of all child conditions |
@@ -126,6 +129,9 @@ discard block |
||
| 126 | 129 | return $results; |
| 127 | 130 | } |
| 128 | 131 | |
| 132 | + /** |
|
| 133 | + * @param Content $content |
|
| 134 | + */ |
|
| 129 | 135 | protected function matchOr(array $conditionsArray, $content) |
| 130 | 136 | { |
| 131 | 137 | /// @todo introduce proper re-validation of all child conditions |