diff --git a/Core/Matcher/ContentVersionMatcher.php b/Core/Matcher/ContentVersionMatcher.php index 4e1e8279..f5a00e32 100644 --- a/Core/Matcher/ContentVersionMatcher.php +++ b/Core/Matcher/ContentVersionMatcher.php @@ -55,7 +55,10 @@ public function match(array $contentConditions, array $versionConditions = array /** * Like match, but will throw an exception if there are 0 or more than 1 items matching * - * @param array $conditions + * @param array $contentConditions + * @param array $versionConditions + * @param array $sort + * @param int $offset * @return mixed * @throws \Exception */ @@ -107,7 +110,7 @@ public function matchContentVersions(array $versionConditions, Content $content) } } - protected function matchAnd(array $conditionsArray, $content = null) + protected function matchAnd($conditionsArray, $content = null) { /// @todo introduce proper re-validation of all child conditions if (!is_array($conditionsArray) || !count($conditionsArray)) { @@ -130,7 +133,7 @@ protected function matchAnd(array $conditionsArray, $content = null) return $results; } - protected function matchOr(array $conditionsArray, $content = null) + protected function matchOr($conditionsArray, $content = null) { /// @todo introduce proper re-validation of all child conditions if (!is_array($conditionsArray) || !count($conditionsArray)) { diff --git a/WHATSNEW.md b/WHATSNEW.md index 298c062c..9c73dd99 100644 --- a/WHATSNEW.md +++ b/WHATSNEW.md @@ -1,4 +1,4 @@ -Version 5.7.1 +Version 5.7.2 ============= * Fix: warnings due to ContentVersionMatcher methods signatures