@@ -143,6 +143,10 @@ discard block |
||
| 143 | 143 | return $errors; |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | + /** |
|
| 147 | + * @param string $paramKey |
|
| 148 | + * @param boolean|null $paramValue |
|
| 149 | + */ |
|
| 146 | 150 | private function filterFields($resource, $paramKey, $paramValue, $checkParamValue = true) |
| 147 | 151 | { |
| 148 | 152 | $fields = []; |
@@ -158,6 +162,9 @@ discard block |
||
| 158 | 162 | return $fields; |
| 159 | 163 | } |
| 160 | 164 | |
| 165 | + /** |
|
| 166 | + * @param boolean $checkRequired |
|
| 167 | + */ |
|
| 161 | 168 | private function isMatchedValue($checkRequired, $value, $valueToMatch) |
| 162 | 169 | { |
| 163 | 170 | if (!$checkRequired) { |