mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +02:00
Applied rector suggestions
This commit is contained in:
parent
4106bcef5f
commit
20f32c7f12
170 changed files with 808 additions and 761 deletions
|
@ -45,13 +45,11 @@ class UserTest extends TestCase
|
|||
$this->assertSame('John (@username)', $user->getFullName(true));
|
||||
}
|
||||
|
||||
public function googleAuthenticatorEnabledDataProvider(): array
|
||||
public function googleAuthenticatorEnabledDataProvider(): \Iterator
|
||||
{
|
||||
return [
|
||||
[null, false],
|
||||
['', false],
|
||||
['SSSk38498', true],
|
||||
];
|
||||
yield [null, false];
|
||||
yield ['', false];
|
||||
yield ['SSSk38498', true];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue