mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 20:35:03 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -50,8 +50,8 @@ use RuntimeException;
|
|||
*/
|
||||
class BackupCodeGenerator
|
||||
{
|
||||
protected $code_length;
|
||||
protected $code_count;
|
||||
protected int $code_length;
|
||||
protected int $code_count;
|
||||
|
||||
/**
|
||||
* BackupCodeGenerator constructor.
|
||||
|
|
|
@ -49,7 +49,7 @@ use App\Entity\UserSystem\User;
|
|||
*/
|
||||
class BackupCodeManager
|
||||
{
|
||||
protected $backupCodeGenerator;
|
||||
protected BackupCodeGenerator $backupCodeGenerator;
|
||||
|
||||
public function __construct(BackupCodeGenerator $backupCodeGenerator)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue