@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -18,5 +18,5 @@ |
||
18 | 18 | 'model_name' => ' required|max:150', |
19 | 19 | 'code' => ' required|max:50', |
20 | 20 | ], |
21 | - ]; |
|
21 | + ]; |
|
22 | 22 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -18,5 +18,5 @@ |
||
18 | 18 | 'provider' => 'required', |
19 | 19 | 'provider_user_id' => 'required', |
20 | 20 | ], |
21 | - ]; |
|
21 | + ]; |
|
22 | 22 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -18,10 +18,10 @@ |
||
18 | 18 | public function boot() |
19 | 19 | { |
20 | 20 | $handler = app('Dingo\Api\Exception\Handler'); |
21 | - $handler->register(function (AuthenticationException $exception) { |
|
21 | + $handler->register(function(AuthenticationException $exception) { |
|
22 | 22 | throw new UnauthorizedHttpException(null, $exception->getMessage()); |
23 | 23 | }); |
24 | - $handler->register(function (AuthorizationException $exception) { |
|
24 | + $handler->register(function(AuthorizationException $exception) { |
|
25 | 25 | throw new AccessDeniedHttpException($exception->getMessage()); |
26 | 26 | }); |
27 | 27 | } |
@@ -52,8 +52,8 @@ |
||
52 | 52 | protected function mapWebRoutes() |
53 | 53 | { |
54 | 54 | Route::middleware('web') |
55 | - ->namespace($this->namespace) |
|
56 | - ->group(base_path('routes/web.php')); |
|
55 | + ->namespace($this->namespace) |
|
56 | + ->group(base_path('routes/web.php')); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |