@@ -65,8 +65,7 @@ |
||
65 | 65 | * @package Platine\Framework\Http\Middleware |
66 | 66 | * @template T |
67 | 67 | */ |
68 | -class CsrfMiddleware implements MiddlewareInterface |
|
69 | -{ |
|
68 | +class CsrfMiddleware implements MiddlewareInterface { |
|
70 | 69 | |
71 | 70 | /** |
72 | 71 | * The configuration instance |
@@ -55,16 +55,14 @@ |
||
55 | 55 | * @class FileResponse |
56 | 56 | * @package Platine\Framework\Http\Response |
57 | 57 | */ |
58 | -class FileResponse extends Response |
|
59 | -{ |
|
58 | +class FileResponse extends Response { |
|
60 | 59 | |
61 | 60 | /** |
62 | 61 | * Create new instance |
63 | 62 | * @param string $path |
64 | 63 | * @param string|null $filename |
65 | 64 | */ |
66 | - public function __construct(string $path, ?string $filename = null) |
|
67 | - { |
|
65 | + public function __construct(string $path, ?string $filename = null) { |
|
68 | 66 | parent::__construct(200); |
69 | 67 | |
70 | 68 | $realpath = Path::realPath($path); |
@@ -54,8 +54,7 @@ |
||
54 | 54 | * @class SecurityServiceProvider |
55 | 55 | * @package Platine\Framework\Service\Provider |
56 | 56 | */ |
57 | -class SecurityServiceProvider extends ServiceProvider |
|
58 | -{ |
|
57 | +class SecurityServiceProvider extends ServiceProvider { |
|
59 | 58 | |
60 | 59 | /** |
61 | 60 | * {@inheritdoc} |
@@ -57,8 +57,7 @@ |
||
57 | 57 | * @package Platine\Framework\Demo\Action |
58 | 58 | * @template T |
59 | 59 | */ |
60 | -class DownloadAction implements RequestHandlerInterface |
|
61 | -{ |
|
60 | +class DownloadAction implements RequestHandlerInterface { |
|
62 | 61 | |
63 | 62 | /** |
64 | 63 | * {@inheritodc} |
@@ -57,8 +57,7 @@ |
||
57 | 57 | * @class CsrfTag |
58 | 58 | * @package Platine\Framework\Template\Tag |
59 | 59 | */ |
60 | -class CsrfTag extends AbstractTag |
|
61 | -{ |
|
60 | +class CsrfTag extends AbstractTag { |
|
62 | 61 | |
63 | 62 | /** |
64 | 63 | * {@inheritdoc} |