Skip to content

Commit 9641e04

Browse files
authored
Update handle method to return 'never' (#575)
Update method signature to conform to the Shield update (and prevent exception)
1 parent 5b80332 commit 9641e04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Auth/Actions/EmailActivator.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ public function show(): string
8888

8989
/**
9090
* This method is unused.
91-
*
92-
* @return Response|string
9391
*/
94-
public function handle(IncomingRequest $request)
92+
public function handle(IncomingRequest $request): never
9593
{
9694
throw new PageNotFoundException();
9795
}

0 commit comments

Comments
 (0)