@@ -17,16 +17,14 @@ discard block |
||
| 17 | 17 | * |
| 18 | 18 | * @author tony |
| 19 | 19 | */ |
| 20 | -class ConfigCommand extends Command |
|
| 21 | -{ |
|
| 20 | +class ConfigCommand extends Command { |
|
| 22 | 21 | |
| 23 | 22 | protected Application $application; |
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * |
| 27 | 26 | */ |
| 28 | - public function __construct(Application $application) |
|
| 29 | - { |
|
| 27 | + public function __construct(Application $application) { |
|
| 30 | 28 | parent::__construct('config', 'Command to manage configuration'); |
| 31 | 29 | $this->setAlias('c'); |
| 32 | 30 | |
@@ -36,8 +34,7 @@ discard block |
||
| 36 | 34 | $this->application = $application; |
| 37 | 35 | } |
| 38 | 36 | |
| 39 | - public function execute() |
|
| 40 | - { |
|
| 37 | + public function execute() { |
|
| 41 | 38 | if ($this->getArgumentValue('list')) { |
| 42 | 39 | $this->showConfigList(); |
| 43 | 40 | } |
@@ -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 | /** |
| 22 | 21 | * The URL to redirect to |
@@ -28,8 +27,7 @@ discard block |
||
| 28 | 27 | * Create new instance |
| 29 | 28 | * @param string $url |
| 30 | 29 | */ |
| 31 | - public function __construct(string $url = '/') |
|
| 32 | - { |
|
| 30 | + public function __construct(string $url = '/') { |
|
| 33 | 31 | parent::__construct(301); |
| 34 | 32 | $this->url = $url; |
| 35 | 33 | } |
@@ -16,8 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @author tony |
| 18 | 18 | */ |
| 19 | -class TemplateResponse extends Response |
|
| 20 | -{ |
|
| 19 | +class TemplateResponse extends Response { |
|
| 21 | 20 | |
| 22 | 21 | protected Template $template; |
| 23 | 22 | |
@@ -54,8 +54,7 @@ |
||
| 54 | 54 | * class RepositoryServiceProvider |
| 55 | 55 | * @package Platine\Framework |
| 56 | 56 | */ |
| 57 | -class RepositoryServiceProvider extends ServiceProvider |
|
| 58 | -{ |
|
| 57 | +class RepositoryServiceProvider extends ServiceProvider { |
|
| 59 | 58 | |
| 60 | 59 | /** |
| 61 | 60 | * {@inheritdoc} |
@@ -53,8 +53,7 @@ |
||
| 53 | 53 | * class MyServiceProvider |
| 54 | 54 | * @package Platine\Framework |
| 55 | 55 | */ |
| 56 | -class MyServiceProvider extends ServiceProvider |
|
| 57 | -{ |
|
| 56 | +class MyServiceProvider extends ServiceProvider { |
|
| 58 | 57 | |
| 59 | 58 | /** |
| 60 | 59 | * {@inheritdoc} |