Test Failed
Push — develop ( 2def8e...aad200 )
by nguereza
02:54
created
src/Http/Response/FileResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         $this->headers['Content-Description'] = ['File Transfer'];
84 84
         $this->headers['Content-Type'] = [$mimetype];
85
-        $this->headers['Content-Disposition'] = ['attachment; filename="' . $filename  . '"'];
85
+        $this->headers['Content-Disposition'] = ['attachment; filename="' . $filename . '"'];
86 86
         $this->headers['Expires'] = [0];
87 87
         $this->headers['Cache-Control'] = ['must-revalidate'];
88 88
         $this->headers['Pragma'] = ['public'];
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Platine\Framework\Demo\Action\HomeAction;
5 5
 use Platine\Route\Router;
6 6
 
7
-return [static function (Router $router): void {
7
+return [static function(Router $router): void {
8 8
     $router->get('/', HomeAction::class, 'home');
9 9
     $router->get('/download', DownloadAction::class, 'download');
10 10
 }];
Please login to merge, or discard this patch.