Passed
Push — develop ( ec03b4...36c2b4 )
by nguereza
02:46
created
src/Http/Response/TemplateResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class TemplateResponse
55 55
  * @package Platine\Framework\Http\Response
56 56
  */
57
-class TemplateResponse extends Response
58
-{
57
+class TemplateResponse extends Response {
59 58
 
60 59
     /**
61 60
      * The template instance
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 use Platine\Framework\Demo\Action\JsonAction;
6 6
 use Platine\Route\Router;
7 7
 
8
-return [static function (Router $router): void {
8
+return [static function(Router $router): void {
9 9
     $router->get('/', HomeAction::class, 'home');
10 10
     $router->get('/download', DownloadAction::class, 'download');
11
-    $router->group('/api', function (Router $router) {
11
+    $router->group('/api', function(Router $router) {
12 12
         $router->post('/json', JsonAction::class, 'api_json');
13 13
     });
14 14
 }];
Please login to merge, or discard this patch.
src/Demo/Action/JsonAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class JsonAction
58 58
  * @package Platine\Framework\Demo\Action
59 59
  */
60
-class JsonAction implements RequestHandlerInterface
61
-{
60
+class JsonAction implements RequestHandlerInterface {
62 61
 
63 62
     /**
64 63
      * The logger instance
Please login to merge, or discard this patch.