apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -35,8 +35,8 @@ final readonly class ClosingMotiveRender implements ChillEntityRenderInterface
public function renderBox($entity, array $options): string
{
return
$this->getDefaultOpeningBox('closing-motive') .
$this->renderString($entity, $options) .
$this->getDefaultOpeningBox('closing-motive').
$this->renderString($entity, $options).
$this->getDefaultClosingBox();
}
@@ -60,7 +60,7 @@ final readonly class ClosingMotiveRender implements ChillEntityRenderInterface
if ($motive->hasParent()) {
if ('' !== $existing) {
$str = $str . self::SEPARATOR . $existing;
$str = $str.self::SEPARATOR.$existing;
}
$str = $this->renderStringRecursive(
@@ -71,11 +71,11 @@ final readonly class ClosingMotiveRender implements ChillEntityRenderInterface
}
if ('' !== $existing) {
$str = $str . self::SEPARATOR . $existing;
$str = $str.self::SEPARATOR.$existing;
}
if ($motive->isLeaf() && $motive->isCanceledAccompanyingPeriod()) {
$str = $str . ' ' . $this->translator->trans('( Canceled period )');
$str = $str.' '.$this->translator->trans('( Canceled period )');
}
return $str;