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