Skip to content

Commit 7b5a9f7

Browse files
style: run prettier on changed files
1 parent d79fb36 commit 7b5a9f7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ pkg-static -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/re
5454
> the [releases page](https://github.com/jaredhendrickson13/pfsense-api/releases) to find the package built for
5555
> your version of pfSense.
5656
57-
5857
## Disclaimers
5958

6059
> [!CAUTION]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ class DHCPServer extends Model {
259259
$ifs_using_dhcp_server = array_keys($this->get_config(path: $this->config_path, default: []));
260260

261261
# Loop through each defined interface
262-
foreach ($this->get_config("interfaces", []) as $if_id => $if) {
262+
foreach ($this->get_config('interfaces', []) as $if_id => $if) {
263263
# Skip this interface if it is not a static interface or the subnet value is greater than or equal to 31
264-
if (empty($if["ipaddr"]) or $if["ipaddr"] === "dhcp" or $if->subnet->value >= 31) {
264+
if (empty($if['ipaddr']) or $if['ipaddr'] === 'dhcp' or $if->subnet->value >= 31) {
265265
continue;
266266
}
267267

0 commit comments

Comments
 (0)