File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ' ];
You can’t perform that action at this time.
0 commit comments