diff --git a/LibreNMS/Data/Store/Rrd.php b/LibreNMS/Data/Store/Rrd.php index c6ce104672..d08e81393c 100644 --- a/LibreNMS/Data/Store/Rrd.php +++ b/LibreNMS/Data/Store/Rrd.php @@ -427,7 +427,7 @@ public function getRrdFiles(string $hostname, string|array $prefix = ''): array if ($this->rrdcached) { $output = $this->command('list', '/' . self::safeName($hostname)); - $files = array_filter(explode("\n", trim($output)), fn($file) => str_starts_with($file, $prefix)); + $files = array_filter(explode("\n", trim($output)), fn ($file) => str_starts_with($file, $prefix)); } else { $files = glob($this->dirFromHost($hostname) . '/' . $prefix . '*.rrd') ?: []; }