Commit 97f2bdb
committed
Drop null parameter from redirectAfterLogin()
The helper always has a sensible default ('/'), so accepting null as an
explicit argument added no value and required a dead null-check branch.
The return type stays nullable because Controller::redirect() itself can
return null when a beforeRedirect event cancels the redirect.1 parent 44d05bf commit 97f2bdb
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | 388 | | |
392 | 389 | | |
393 | 390 | | |
| |||
0 commit comments