@@ -27,7 +27,7 @@ |
||
27 | 27 | return Admin::component('admin::components.column-expand', [ |
28 | 28 | 'key' => $this->getKey(), |
29 | 29 | 'url' => $this->getLoadUrl(), |
30 | - 'name' => str_replace('.', '-', $this->getName()) . '-' . $this->getKey(), |
|
30 | + 'name' => str_replace('.', '-', $this->getName()).'-'.$this->getKey(), |
|
31 | 31 | 'html' => $html, |
32 | 32 | 'value' => $this->value, |
33 | 33 | 'async' => $async, |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | public function handle(Request $request, \Closure $next) |
21 | 21 | { |
22 | 22 | if ($this->shouldLogOperation($request)) { |
23 | - $setProxy=$request->setTrustedProxies(request()->getClientIps(), \Illuminate\Http\Request::HEADER_X_FORWARDED_FOR); |
|
23 | + $setProxy = $request->setTrustedProxies(request()->getClientIps(), \Illuminate\Http\Request::HEADER_X_FORWARDED_FOR); |
|
24 | 24 | $log = [ |
25 | 25 | 'user_id' => Admin::user()->id, |
26 | 26 | 'path' => substr($request->path(), 0, 255), |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | return true; |
68 | 68 | } |
69 | 69 | |
70 | - return $allowedMethods->map(function ($method) { |
|
70 | + return $allowedMethods->map(function($method) { |
|
71 | 71 | return strtoupper($method); |
72 | 72 | })->contains($method); |
73 | 73 | } |