Skip to content

Commit 1367034

Browse files
committed
Fix CI
1 parent 930e8ff commit 1367034

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/src/Controller/YubikeyTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testOtpNoOtp(): void
8787

8888
$c = new Controller\Yubikey($this->config, $this->session);
8989
$c->setAuthState(new class () extends Auth\State {
90-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
90+
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
9191
{
9292
return [];
9393
}
@@ -114,7 +114,7 @@ public function testOtpFailed(): void
114114

115115
$c = new Controller\Yubikey($this->config, $this->session);
116116
$c->setAuthState(new class () extends Auth\State {
117-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
117+
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
118118
{
119119
return [];
120120
}
@@ -147,7 +147,7 @@ public function testOtpSucceeded(): void
147147

148148
$c = new Controller\Yubikey($this->config, $this->session);
149149
$c->setAuthState(new class () extends Auth\State {
150-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
150+
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
151151
{
152152
return [];
153153
}
@@ -180,7 +180,7 @@ public function testOtpUnexpectedException(): void
180180

181181
$c = new Controller\Yubikey($this->config, $this->session);
182182
$c->setAuthState(new class () extends Auth\State {
183-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
183+
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
184184
{
185185
return [];
186186
}

0 commit comments

Comments
 (0)