mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Php cs fixes
This commit is contained in:
parent
a368e68abb
commit
b0918ddd09
@ -58,9 +58,9 @@ readonly class AccompanyingPeriodWorkMergeService
|
||||
private function transferEvaluationsSQL(AccompanyingPeriodWork $toKeep, AccompanyingPeriodWork $toDelete): void
|
||||
{
|
||||
$this->em->getConnection()->executeQuery(
|
||||
"UPDATE chill_person_accompanying_period_work_evaluation cpapwe
|
||||
'UPDATE chill_person_accompanying_period_work_evaluation cpapwe
|
||||
SET accompanyingperiodwork_id = :toKeepId
|
||||
WHERE cpapwe.accompanyingperiodwork_id = :toDeleteId",
|
||||
WHERE cpapwe.accompanyingperiodwork_id = :toDeleteId',
|
||||
['toKeepId' => $toKeep->getId(), 'toDeleteId' => $toDelete->getId()]
|
||||
);
|
||||
}
|
||||
@ -85,7 +85,7 @@ readonly class AccompanyingPeriodWorkMergeService
|
||||
|
||||
private function concatenateComments(AccompanyingPeriodWork $toKeep, AccompanyingPeriodWork $toDelete): void
|
||||
{
|
||||
if ($toDelete->getNote() !== '') {
|
||||
if ('' !== $toDelete->getNote()) {
|
||||
$toKeep->setNote($toKeep->getNote()."\n\n-----------------\n\n".$toDelete->getNote());
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ class ThirdpartyMergeService
|
||||
// schema name, the table name is prefixed with "public".
|
||||
private function getFullTableName(string $tableName, ?string $schema): string
|
||||
{
|
||||
if ($schema !== null) {
|
||||
if (null !== $schema) {
|
||||
return "{$schema}.{$tableName}";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user