mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user