@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | $detector_collect = collect($detector); |
29 | 29 | |
30 | - $detector_collect->map(function ($detector_obj) { |
|
30 | + $detector_collect->map(function($detector_obj) { |
|
31 | 31 | if (!empty($detector_obj)) { |
32 | 32 | $reflect = new \ReflectionClass($detector_obj); |
33 | 33 | if ($reflect->implementsInterface(DetectorConditionsContract::class)) { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | private function configurePaths() |
38 | 38 | { |
39 | 39 | $this->publishes([ |
40 | - __DIR__ . '/config/config.php' => config_path('eloquentFilter.php'), |
|
40 | + __DIR__.'/config/config.php' => config_path('eloquentFilter.php'), |
|
41 | 41 | ]); |
42 | 42 | } |
43 | 43 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | private function mergeConfig() |
48 | 48 | { |
49 | 49 | $this->mergeConfigFrom( |
50 | - __DIR__ . '/config/config.php', |
|
50 | + __DIR__.'/config/config.php', |
|
51 | 51 | 'eloquentFilter' |
52 | 52 | ); |
53 | 53 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | if (config('eloquentFilter.enabled') != false) { |
61 | 61 | $this->app->singleton( |
62 | 62 | 'eloquentFilter', |
63 | - function () { |
|
63 | + function() { |
|
64 | 64 | $queryFilterCoreFactory = new QueryFilterCoreFactory(); |
65 | 65 | |
66 | 66 | $request = new RequestFilter($this->app->get('request')->query()); |
@@ -71,7 +71,7 @@ |
||
71 | 71 | */ |
72 | 72 | public static function array_slice_keys($request, $keys = null): array |
73 | 73 | { |
74 | - $request = (array) $request; |
|
74 | + $request = (array)$request; |
|
75 | 75 | |
76 | 76 | return array_intersect_key($request, array_fill_keys($keys, '1')); |
77 | 77 | } |