public function search(GlobalSearch $request): View 	{ 		$search = $request->search; 		$provider = $request->enum('provider', SmsProvider::class);  		$sms_messages = IncomingSmsMessage::when($provider, static function (Builder $query, SmsProvider $provider): void { 			$query->where('provider', $provider); 		}) 			->search($search) 			->latest() 			->get();  		return view('sms-messages.incoming.list', ['sms_messages' => $sms_messages, 'provider' => $provider, 'search' => $search]); 	}