$actor?->id, 'action' => $action, 'entity_type' => $entityType, 'entity_id' => $entityId, 'description' => $description, ], fn ($value) => $value !== null && $value !== ''); $this->client->insertRecord('activity_logs', [$entry], asUser: false); } }