:100644 100644 39a6bfa83 000000000 M LibreNMS/Data/Graphing/AbstractGraph.php diff --git a/LibreNMS/Data/Graphing/AbstractGraph.php b/LibreNMS/Data/Graphing/AbstractGraph.php index 39a6bfa83cfbdb023b2fbf1b55bc58587a36835b..69c1db450f5b37a35606dc020017cc6f735ee7da 100644 --- a/LibreNMS/Data/Graphing/AbstractGraph.php +++ b/LibreNMS/Data/Graphing/AbstractGraph.php @@ -40,8 +40,7 @@ abstract class AbstractGraph implements GraphInterface public function __construct( protected readonly GraphParameters $params, protected readonly array $vars = [], - ) - { + ) { $device_id = $this->vars['device'] ?? ($this->params->type == 'device' ? ($this->vars['id'] ?? null) : null); $this->device = DeviceCache::get($device_id);