Skip to content
Snippets Groups Projects
Commit 9a5b9ec4 authored by Albrecht Köhnlein's avatar Albrecht Köhnlein Committed by Stefan Bürk
Browse files

[DOCS] Remove outdated number from logicalAnd() and logicalOr() PHPdoc

The methods `logicalAnd()` and `logicalOr()` allow any number of
constraints as parameters. The outdated PHPdoc comment still said "two".

Resolves: #103007
Releases: main, 12.4
Change-Id: I582eb3f1c17fb3149a49a15649469794ce386149
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82739


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 5b18ef1b
Branches
Tags
No related merge requests found
......@@ -388,7 +388,7 @@ class Query implements QueryInterface
}
/**
* Performs a logical conjunction of the two given constraints. The method
* Performs a logical conjunction of multiple given constraints. The method
* takes an arbitrary number of constraints and concatenates them with a boolean AND.
*/
public function logicalAnd(ConstraintInterface ...$constraints): AndInterface
......@@ -411,7 +411,7 @@ class Query implements QueryInterface
}
/**
* Performs a logical disjunction of the two given constraints. The method
* Performs a logical disjunction of multiple given constraints. The method
* takes an arbitrary number of constraints and concatenates them with a boolean OR.
*/
public function logicalOr(ConstraintInterface ...$constraints): OrInterface
......
......@@ -159,13 +159,13 @@ interface QueryInterface
public function matching($constraint);
/**
* Performs a logical conjunction of the two given constraints. The method
* Performs a logical conjunction of multiple given constraints. The method
* takes an arbitrary number of constraints and concatenates them with a boolean AND.
*/
public function logicalAnd(ConstraintInterface ...$constraints): AndInterface;
/**
* Performs a logical disjunction of the two given constraints. The method
* Performs a logical disjunction of multiple given constraints. The method
* takes an arbitrary number of constraints and concatenates them with a boolean OR.
*/
public function logicalOr(ConstraintInterface ...$constraints): OrInterface;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment