Skip to content

Commit 6c4370c

Browse files
style: run prettier on changed files
1 parent f4ab0d3 commit 6c4370c

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/OpenVPNClientExport.inc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -377,14 +377,16 @@ class OpenVPNClientExport extends Model {
377377
* @return array the proxy configuration array expected by pfSense functions
378378
*/
379379
private function __get_proxy_config(): array {
380-
return $this->useproxy->value ? [
381-
'ip' => $this->proxyaddr->value,
382-
'port' => $this->proxyport->value,
383-
'user' => $this->proxyuser->value,
384-
'password' => $this->proxypass->value,
385-
'proxy_type' => $this->useproxytype->value,
386-
'proxy_authtype' => $this->useproxypass->value,
387-
] : [];
380+
return $this->useproxy->value
381+
? [
382+
'ip' => $this->proxyaddr->value,
383+
'port' => $this->proxyport->value,
384+
'user' => $this->proxyuser->value,
385+
'password' => $this->proxypass->value,
386+
'proxy_type' => $this->useproxytype->value,
387+
'proxy_authtype' => $this->useproxypass->value,
388+
]
389+
: [];
388390
}
389391

390392
private function __get_export_filename(): string {

0 commit comments

Comments
 (0)