Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2022-08-14 19:39:07 +02:00
parent 639829f5c5
commit 8e6bc25d2e
19 changed files with 39 additions and 40 deletions

View file

@ -30,17 +30,18 @@ abstract class AbstractPartsContainingRepository extends StructuralDBElementRepo
/**
* Returns all parts associated with this element.
*
* @param AbstractPartsContainingDBElement $element the element for which the parts should be determined
* @param array $order_by The order of the parts. Format ['name' => 'ASC']
* @param object $element the element for which the parts should be determined
* @param array $order_by The order of the parts. Format ['name' => 'ASC']
*
* @return Part[]
* @return Part
*/
abstract public function getParts(object $element, array $order_by = ['name' => 'ASC']): array;
/**
* Gets the count of the parts associated with this element.
*
* @param AbstractPartsContainingDBElement $element the element for which the parts should be determined
* @param object $element the element for which the parts should be determined
* @return int
*/
abstract public function getPartsCount(object $element): int;