pluck('phone_code')->first(); $filteredFormats = array_filter( static::$e164Formats, static fn ($format) => str_starts_with($format, "+{$phoneCode}") ); if (empty($filteredFormats)) { return $this->e164PhoneNumber(); } return self::numerify($this->generator->parse($this->generator->randomElement($filteredFormats))); } }