Skip to content

Commit 93ae86f

Browse files
committed
Fix CI
1 parent b2a66ec commit 93ae86f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/src/Controller/AuthX509Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ public function testNoState(): void
7979

8080
$c = new Controller\ExpiryWarning($this->config, $this->session);
8181
$c->setAuthState(new class () extends Auth\State {
82-
/** @return array<mixed>|null */
83-
public static function loadState(string $id, string $stage, bool $allowMissing = false): ?array
82+
public static function loadState(string $id, string $stage, bool $allowMissing = false): null
8483
{
8584
return null;
8685
}
@@ -133,6 +132,7 @@ public function testNotProceed(): void
133132

134133
$c = new Controller\ExpiryWarning($this->config, $this->session);
135134
$c->setAuthState(new class () extends Auth\State {
135+
/** @return array<mixed */
136136
public static function loadState(string $id, string $stage, bool $allowMissing = false): array
137137
{
138138
return ['daysleft' => 10, 'renewurl' => 'https://example.org/renew'];

0 commit comments

Comments
 (0)