Completed
Push — master ( 93c80e...3ed971 )
by
unknown
07:16
created
src/Modules/Routers/Laravel/LaravelRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         $routes = $this->router->getRoutes()->getRoutes();
23 23
 
24
-        return array_map(function (Route $route) {
24
+        return array_map(function(Route $route) {
25 25
             return $this->transformer->cast($route);
26 26
         }, $routes);
27 27
     }
Please login to merge, or discard this patch.
src/Modules/Framework/FrameworkServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $router->group([
16 16
             'prefix'     => 'loadsman/framework',
17
-        ], function ($router) {
17
+        ], function($router) {
18 18
             $router->exposeAll(FrameworkController::class);
19 19
         });
20 20
     }
Please login to merge, or discard this patch.
src/Modules/Rule/RuleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $router->group([
16 16
             'prefix'     => 'loadsman/rules',
17
-        ], function ($router) {
17
+        ], function($router) {
18 18
             $router->exposeAll(RuleController::class);
19 19
         });
20 20
     }
Please login to merge, or discard this patch.
src/Modules/Rule/RuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
         $rules = app(RuleRepository::class)->getAll();
13 13
 
14 14
         $transformer = new RuleTransformer();
15
-        $data = array_map(function (Rule $rule) use ($transformer) {
15
+        $data = array_map(function(Rule $rule) use ($transformer) {
16 16
             return $transformer->transform($rule);
17 17
         }, $rules);
18 18
 
Please login to merge, or discard this patch.
src/Http/Controllers/RouteController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Loadsman\LaravelPlugin\Http\Controllers;
4 4
 
5
-use Loadsman\LaravelPlugin\Contracts\RouteRepositoryInterface;
6 5
 use Illuminate\Routing\Controller;
6
+use Loadsman\LaravelPlugin\Contracts\RouteRepositoryInterface;
7 7
 
8 8
 /**
9 9
  * Class RoutesController
Please login to merge, or discard this patch.
src/Repositories/RouteLaravelRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Loadsman\LaravelPlugin\Repositories;
4 4
 
5
+use Illuminate\Routing\Router;
5 6
 use Loadsman\LaravelPlugin\Collections\RouteCollection;
6 7
 use Loadsman\LaravelPlugin\Contracts\RouteRepositoryInterface;
7 8
 use Loadsman\LaravelPlugin\Entities\RouteInfo;
8
-use Illuminate\Routing\Router;
9 9
 
10 10
 class RouteLaravelRepository implements RouteRepositoryInterface
11 11
 {
Please login to merge, or discard this patch.