@@ -15,8 +15,7 @@ discard block |
||
| 15 | 15 | * |
| 16 | 16 | * @author tony |
| 17 | 17 | */ |
| 18 | -class RedirectResponse extends Response |
|
| 19 | -{ |
|
| 18 | +class RedirectResponse extends Response { |
|
| 20 | 19 | |
| 21 | 20 | protected string $url = '/'; |
| 22 | 21 | |
@@ -24,8 +23,7 @@ discard block |
||
| 24 | 23 | * Create new instance |
| 25 | 24 | * @param string $url |
| 26 | 25 | */ |
| 27 | - public function __construct(string $url = '/') |
|
| 28 | - { |
|
| 26 | + public function __construct(string $url = '/') { |
|
| 29 | 27 | parent::__construct(301); |
| 30 | 28 | $this->url = $url; |
| 31 | 29 | } |
@@ -20,8 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @author tony |
| 22 | 22 | */ |
| 23 | -class LoginAction implements RequestHandlerInterface |
|
| 24 | -{ |
|
| 23 | +class LoginAction implements RequestHandlerInterface { |
|
| 25 | 24 | |
| 26 | 25 | protected LoggerInterface $logger; |
| 27 | 26 | protected Application $app; |
@@ -19,8 +19,7 @@ |
||
| 19 | 19 | * |
| 20 | 20 | * @author tony |
| 21 | 21 | */ |
| 22 | -class HomeAction implements RequestHandlerInterface |
|
| 23 | -{ |
|
| 22 | +class HomeAction implements RequestHandlerInterface { |
|
| 24 | 23 | |
| 25 | 24 | protected LoggerInterface $logger; |
| 26 | 25 | protected Application $app; |
@@ -20,8 +20,7 @@ |
||
| 20 | 20 | * |
| 21 | 21 | * @author tony |
| 22 | 22 | */ |
| 23 | -class LogoutAction implements RequestHandlerInterface |
|
| 24 | -{ |
|
| 23 | +class LogoutAction implements RequestHandlerInterface { |
|
| 25 | 24 | |
| 26 | 25 | protected LoggerInterface $logger; |
| 27 | 26 | protected Application $app; |