Skip to content
Snippets Groups Projects
Commit 93a14684 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix PHPCS

parent 7c84aa86
No related branches found
Tags v3.8.4
1 merge request!120Merging develop into main
Pipeline #1349577 passed
......@@ -840,7 +840,7 @@ class Handler extends BaseHandler {
* @return string|array
* The ipv4 address(es).
*/
private function getLocalIpv4(string $interface = NULL): array|string {
private function getLocalIpv4(?string $interface = NULL): array|string {
$out = explode(PHP_EOL, shell_exec('LC_ALL=C /sbin/ifconfig'));
$local_addrs = [];
$ifname = 'unknown';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment