- $replyto = isset( $options['replyTo'] ) ? $options['replyTo'] : null;
- $contentType = isset( $options['contentType'] ) ?
- $options['contentType'] : 'text/plain; charset=UTF-8';
- $headers = isset( $options['headers'] ) ? $options['headers'] : [];
+ $replyto = $options['replyTo'] ?? null;
+ $contentType = $options['contentType'] ?? 'text/plain; charset=UTF-8';
+ $headers = $options['headers'] ?? [];