mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-15 14:49:33 +00:00
Applied rector rules up to symfony 6.2
This commit is contained in:
parent
88ea920dfb
commit
a43af180a7
145 changed files with 563 additions and 889 deletions
|
|
@ -40,9 +40,9 @@ use Symfony\Component\Security\Core\Security;
|
|||
|
||||
class OrderdetailType extends AbstractType
|
||||
{
|
||||
protected Security $security;
|
||||
protected \Symfony\Bundle\SecurityBundle\Security $security;
|
||||
|
||||
public function __construct(Security $security)
|
||||
public function __construct(\Symfony\Bundle\SecurityBundle\Security $security)
|
||||
{
|
||||
$this->security = $security;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,11 +52,11 @@ use Symfony\Component\Security\Core\Security;
|
|||
|
||||
class PartBaseType extends AbstractType
|
||||
{
|
||||
protected Security $security;
|
||||
protected \Symfony\Bundle\SecurityBundle\Security $security;
|
||||
protected UrlGeneratorInterface $urlGenerator;
|
||||
protected EventCommentNeededHelper $event_comment_needed_helper;
|
||||
|
||||
public function __construct(Security $security, UrlGeneratorInterface $urlGenerator, EventCommentNeededHelper $event_comment_needed_helper)
|
||||
public function __construct(\Symfony\Bundle\SecurityBundle\Security $security, UrlGeneratorInterface $urlGenerator, EventCommentNeededHelper $event_comment_needed_helper)
|
||||
{
|
||||
$this->security = $security;
|
||||
$this->urlGenerator = $urlGenerator;
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@ use Symfony\Component\Security\Core\Security;
|
|||
|
||||
class PartLotType extends AbstractType
|
||||
{
|
||||
protected Security $security;
|
||||
protected \Symfony\Bundle\SecurityBundle\Security $security;
|
||||
|
||||
public function __construct(Security $security)
|
||||
public function __construct(\Symfony\Bundle\SecurityBundle\Security $security)
|
||||
{
|
||||
$this->security = $security;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue