Passed
Branch master (fc8a08)
by Andrey
05:31 queued 02:19
created
app/Http/Middleware/CheckSite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         // cache()->forget('check');
19 19
 
20 20
         if (!Cache::has('check')) {
21
-            Cache::remember('check', $time, function () use ($error) {
21
+            Cache::remember('check', $time, function() use ($error) {
22 22
                 try {
23 23
                     DB::connection()->table(DB::raw('settings'))->first([DB::raw(1)]);
24 24
                     if (!DB::connection()->table(DB::raw('settings'))->count()) {
Please login to merge, or discard this patch.