src/Entity/CategoryRepository.php
Method notEmptyChildrenHierarchy
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function notEmptyChildrenHierarchy(array $options = [])
{
/** @var Query $q1 */
$q1 = $this->createQueryBuilder('cc')
->where('cc.left >= c.left')