mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 12:14:45 +02:00
Styling fixes
This commit is contained in:
parent
82c294ab63
commit
716d298b75
@ -207,6 +207,7 @@ class ServerResource extends Resource
|
||||
|
||||
// Do not add non numerical ports
|
||||
$update = true;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -217,7 +218,7 @@ class ServerResource extends Resource
|
||||
}
|
||||
|
||||
$start = max((int) $start, 0);
|
||||
$end = min((int) $end, 2**16-1);
|
||||
$end = min((int) $end, 2 ** 16 - 1);
|
||||
for ($i = $start; $i <= $end; $i++) {
|
||||
$ports->push($i);
|
||||
}
|
||||
|
@ -307,7 +307,7 @@ class Node extends Model
|
||||
$ips = collect();
|
||||
if (is_ip($this->fqdn)) {
|
||||
$ips->push($this->fqdn);
|
||||
} else if ($dnsRecords = gethostbynamel($this->fqdn)) {
|
||||
} elseif ($dnsRecords = gethostbynamel($this->fqdn)) {
|
||||
$ips->concat($dnsRecords);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user