mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 19:34:31 +02:00
Fixed inspection issues.
This commit is contained in:
parent
0fe83c7b3a
commit
eb9b24d5d7
20 changed files with 33 additions and 49 deletions
|
@ -66,7 +66,7 @@ class BackupCodeGeneratorTest extends TestCase
|
|||
new BackupCodeGenerator(4, 10);
|
||||
}
|
||||
|
||||
public function codeLengthDataProvider()
|
||||
public function codeLengthDataProvider(): array
|
||||
{
|
||||
return [[6], [8], [10], [16]];
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ class BackupCodeGeneratorTest extends TestCase
|
|||
$this->assertRegExp("/^([a-f0-9]){{$code_length}}\$/", $generator->generateSingleCode());
|
||||
}
|
||||
|
||||
public function codeCountDataProvider()
|
||||
public function codeCountDataProvider(): array
|
||||
{
|
||||
return [[2], [8], [10]];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue