Issue Bug Closed

#61569Fix typo in comment (method header)

Michael Schams 09/14/14, 06:39 updated 10/02/18, 11:52

Description

Fix minor typo in the method description (comment) in class TYPO3\CMS\Extbase\Persistence\Generic\Query.php

/**
 * Performs a logical conjunction of the given constraints.
 * The method takes one or more contraints and concatenates them with a boolean AND.
 * It also scepts a single array of constraints to be concatenated.
 *
 * @param mixed $constraint1 The first of multiple constraints or an array of constraints.
 * @throws Exception\InvalidNumberOfConstraintsException
 * @return \TYPO3\CMS\Extbase\Persistence\Generic\Qom\AndInterface
 * @api
 */
public function logicalAnd($constraint1) {
...
}

…should read: The method takes one or more constraints and concatenates them… (constraints with letter “s”, rather than “contraints”).

Reviews 2