mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
Fixed phpstan issue
This commit is contained in:
parent
b14fc0e22a
commit
808af0d3cd
1 changed files with 0 additions and 3 deletions
|
|
@ -48,9 +48,7 @@ use App\Entity\Parts\Part;
|
||||||
use App\Services\Formatters\SIFormatter;
|
use App\Services\Formatters\SIFormatter;
|
||||||
use League\CommonMark\Environment\Environment;
|
use League\CommonMark\Environment\Environment;
|
||||||
use League\CommonMark\Extension\InlinesOnly\InlinesOnlyExtension;
|
use League\CommonMark\Extension\InlinesOnly\InlinesOnlyExtension;
|
||||||
use League\CommonMark\GithubFlavoredMarkdownConverter;
|
|
||||||
use League\CommonMark\MarkdownConverter;
|
use League\CommonMark\MarkdownConverter;
|
||||||
use League\CommonMark\Node\Block\Paragraph;
|
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -58,7 +56,6 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
*/
|
*/
|
||||||
final class PartProvider implements PlaceholderProviderInterface
|
final class PartProvider implements PlaceholderProviderInterface
|
||||||
{
|
{
|
||||||
private readonly MarkdownConverter $blockConverter;
|
|
||||||
private readonly MarkdownConverter $inlineConverter;
|
private readonly MarkdownConverter $inlineConverter;
|
||||||
|
|
||||||
public function __construct(private readonly SIFormatter $siFormatter, private readonly TranslatorInterface $translator)
|
public function __construct(private readonly SIFormatter $siFormatter, private readonly TranslatorInterface $translator)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue