mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-22 19:09:31 +00:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
|
@ -60,7 +60,7 @@ use Symfony\Component\Security\Core\Security;
|
|||
|
||||
class OrderdetailType extends AbstractType
|
||||
{
|
||||
protected $security;
|
||||
protected Security $security;
|
||||
|
||||
public function __construct(Security $security)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -72,9 +72,8 @@ use Symfony\Component\Security\Core\Security;
|
|||
|
||||
class PartBaseType extends AbstractType
|
||||
{
|
||||
protected $security;
|
||||
protected $trans;
|
||||
protected $urlGenerator;
|
||||
protected Security $security;
|
||||
protected UrlGeneratorInterface $urlGenerator;
|
||||
|
||||
public function __construct(Security $security, UrlGeneratorInterface $urlGenerator)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ use Symfony\Component\Security\Core\Security;
|
|||
|
||||
class PartLotType extends AbstractType
|
||||
{
|
||||
protected $security;
|
||||
protected Security $security;
|
||||
|
||||
public function __construct(Security $security)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue