mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-06 16:34:35 +02:00
Applied rector with PHP8.1 migration rules
This commit is contained in:
parent
dc6a67c2f0
commit
7ee01d9a05
303 changed files with 1228 additions and 3465 deletions
|
@ -51,13 +51,8 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||
|
||||
class RevertLogColumn extends AbstractColumn
|
||||
{
|
||||
protected TranslatorInterface $translator;
|
||||
protected \Symfony\Bundle\SecurityBundle\Security $security;
|
||||
|
||||
public function __construct(TranslatorInterface $translator, \Symfony\Bundle\SecurityBundle\Security $security)
|
||||
public function __construct(protected TranslatorInterface $translator, protected \Symfony\Bundle\SecurityBundle\Security $security)
|
||||
{
|
||||
$this->translator = $translator;
|
||||
$this->security = $security;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -105,8 +100,6 @@ class RevertLogColumn extends AbstractColumn
|
|||
$this->translator->trans('log.undo.revert')
|
||||
);
|
||||
|
||||
$tmp .= '</div>';
|
||||
|
||||
return $tmp;
|
||||
return $tmp . '</div>';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue