php cs fixer and phpstan

This commit is contained in:
2023-09-29 07:52:50 +02:00
parent b38f5800d9
commit 0c5b35926b
7 changed files with 39 additions and 14 deletions

View File

@@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\MainBundle\Export;
use Doctrine\ORM\QueryBuilder;
@@ -10,11 +19,11 @@ final readonly class AccompanyingCourseExportHelper
{
$qb->leftJoin('acp.closingMotive', 'cm')
->andWhere(
$qb->expr()->orX(
$qb->expr()->eq('cm.isCanceledAccompanyingPeriod', 'false'),
$qb->expr()->isNull('acp.closingMotive')
)
);
$qb->expr()->orX(
$qb->expr()->eq('cm.isCanceledAccompanyingPeriod', 'false'),
$qb->expr()->isNull('acp.closingMotive')
)
);
return $qb;
}