mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-08 08:19:35 +00: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
|
|
@ -30,12 +30,10 @@ use Symfony\Component\Validator\ConstraintValidator;
|
|||
|
||||
class ValidPermissionValidator extends ConstraintValidator
|
||||
{
|
||||
protected PermissionManager $resolver;
|
||||
protected array $perm_structure;
|
||||
|
||||
public function __construct(PermissionManager $resolver)
|
||||
public function __construct(protected PermissionManager $resolver)
|
||||
{
|
||||
$this->resolver = $resolver;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue