Skip to content

Commit 3a3446a

Browse files
committed
Fix CI
1 parent 825b222 commit 3a3446a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/src/Controller/AuthX509Test.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ public function testProceed(): void
106106

107107
$c = new Controller\ExpiryWarning($this->config, $this->session);
108108
$c->setAuthState(new class () extends Auth\State {
109-
/** @return array<mixed>|null */
110-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
109+
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
111110
{
112111
return [];
113112
}
@@ -134,8 +133,7 @@ public function testNotProceed(): void
134133

135134
$c = new Controller\ExpiryWarning($this->config, $this->session);
136135
$c->setAuthState(new class () extends Auth\State {
137-
/** @return array<mixed>|null */
138-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
136+
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
139137
{
140138
return ['daysleft' => 10, 'renewurl' => 'https://example.org/renew'];
141139
}

0 commit comments

Comments
 (0)