mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
DX: fix phstan & cs
This commit is contained in:
@@ -19,6 +19,9 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
use function array_reverse;
|
||||
use function implode;
|
||||
|
||||
/**
|
||||
* @implements ChillEntityRenderInterface<SocialIssue>
|
||||
*/
|
||||
final class SocialIssueRender implements ChillEntityRenderInterface
|
||||
{
|
||||
public const AND_CHILDREN_MENTION = 'show_and_children_mention';
|
||||
@@ -53,9 +56,6 @@ final class SocialIssueRender implements ChillEntityRenderInterface
|
||||
$this->translator = $translator;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param SocialIssue $socialIssue
|
||||
*/
|
||||
public function renderBox($socialIssue, array $options): string
|
||||
{
|
||||
$options = array_merge(self::DEFAULT_ARGS, $options);
|
||||
@@ -74,9 +74,6 @@ final class SocialIssueRender implements ChillEntityRenderInterface
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param SocialIssue $socialIssue
|
||||
*/
|
||||
public function renderString($socialIssue, array $options): string
|
||||
{
|
||||
/** @var SocialIssue $socialIssue */
|
||||
|
Reference in New Issue
Block a user