public function createCustomEntry(object $model, UserActivityType $type): void 	{ 		$user = auth()->user() ?? $this->user;  		$model->activities()->create([ 			'user_id' => $user->getKey(), 			'domain_id' => $user->user?->getActiveDomain()->getKey(), 			'route_name' => $this->request->route()->getName(), 			'type' => $type, 			'ip_address' => $this->request->ip() ?? null, 		]); 	}