@@ -23,7 +23,7 @@ |
||
| 23 | 23 | public static function getCurrentModule() |
| 24 | 24 | { |
| 25 | 25 | $modulepath = self::getModulePath(); |
| 26 | - return cache()->remember('crudbooster_modules_'.$modulepath, 2, function () use ($modulepath) { |
|
| 26 | + return cache()->remember('crudbooster_modules_'.$modulepath, 2, function() use ($modulepath) { |
|
| 27 | 27 | return DB::table('cms_moduls')->where('path', $modulepath)->first(); |
| 28 | 28 | }); |
| 29 | 29 | } |