Test Failed
Push — develop ( 8b5bdd...c753fd )
by nguereza
02:34
created
src/Demo/Provider/UserServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     public function addRoutes(Router $router): void
85 85
     {
86
-        $router->group('/users', function (Router $router) {
86
+        $router->group('/users', function(Router $router) {
87 87
             $router->get('', ListAction::class, 'user_list', ['permission' => 'users']);
88 88
             $router->get('/detail/{id:i}', DetailAction::class, 'user_detail');
89 89
             $router->post('/batch', BatchAction::class, 'user_batch');
Please login to merge, or discard this patch.
src/Demo/Action/User/BatchAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     {
148 148
         $param = new RequestData($request);
149 149
 
150
-        $items =  $param->post('items', []);
150
+        $items = $param->post('items', []);
151 151
         if (empty($items)) {
152 152
             return new RedirectResponse(
153 153
                 $this->routeHelper->generateUrl('user_list')
Please login to merge, or discard this patch.