@@ -10,7 +10,7 @@ |
||
| 10 | 10 | |
| 11 | 11 | $kernel = $app->make(HttpKernel::class); |
| 12 | 12 | |
| 13 | -$kernel->use(function($req, $h){ |
|
| 13 | +$kernel->use(function($req, $h) { |
|
| 14 | 14 | return $h->handle($req); |
| 15 | 15 | }); |
| 16 | 16 | |
@@ -61,8 +61,7 @@ |
||
| 61 | 61 | * class LangServiceProvider |
| 62 | 62 | * @package Platine\Framework\Service\Provider |
| 63 | 63 | */ |
| 64 | -class LangServiceProvider extends ServiceProvider |
|
| 65 | -{ |
|
| 64 | +class LangServiceProvider extends ServiceProvider { |
|
| 66 | 65 | |
| 67 | 66 | /** |
| 68 | 67 | * {@inheritdoc} |
@@ -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 | } |