Passed
Pull Request — main (#3)
by
unknown
09:23 queued 08:34
created
src/Console/ProcessCacheInvalidationEventsCommand.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
 
310 310
             DB::table('cache_invalidation_timestamps')
311 311
                 //DB::table(DB::raw("`cache_invalidation_timestamps` PARTITION ({$partitionCache_invalidation_timestamps})"))
312
-              ->updateOrInsert(
312
+                ->updateOrInsert(
313 313
                     ['identifier_type' => $type, 'identifier' => $identifier],
314 314
                     ['last_invalidated' => $now]
315 315
                 )
@@ -392,9 +392,9 @@  discard block
 block discarded – undo
392 392
                 // Mark event as processed
393 393
                 //DB::table(DB::raw("`cache_invalidation_events` PARTITION ({$partitionCache_invalidation_events}, {$partitionCache_invalidation_events_processed})"))
394 394
                 DB::table("cache_invalidation_events")
395
-                  ->whereIn('id', array_column($eventsToUpdate, 'id'))
396
-                  ->whereIn('partition_key', array_column($eventsToUpdate, 'partition_key'))
397
-                  ->update(['processed' => 1])
395
+                    ->whereIn('id', array_column($eventsToUpdate, 'id'))
396
+                    ->whereIn('partition_key', array_column($eventsToUpdate, 'partition_key'))
397
+                    ->update(['processed' => 1])
398 398
                 ;
399 399
                 // Riattiva i controlli
400 400
                 DB::statement('SET UNIQUE_CHECKS=1;');
Please login to merge, or discard this patch.