summaryrefslogtreecommitdiffstats
path: root/library/Graphite/ProvidedHook
diff options
context:
space:
mode:
Diffstat (limited to 'library/Graphite/ProvidedHook')
-rw-r--r--library/Graphite/ProvidedHook/Icingadb/HostDetailExtension.php4
-rw-r--r--library/Graphite/ProvidedHook/Icingadb/ServiceDetailExtension.php4
-rw-r--r--library/Graphite/ProvidedHook/Monitoring/DetailviewExtension.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/library/Graphite/ProvidedHook/Icingadb/HostDetailExtension.php b/library/Graphite/ProvidedHook/Icingadb/HostDetailExtension.php
index 31e4e6c..94d5547 100644
--- a/library/Graphite/ProvidedHook/Icingadb/HostDetailExtension.php
+++ b/library/Graphite/ProvidedHook/Icingadb/HostDetailExtension.php
@@ -23,8 +23,8 @@ class HostDetailExtension extends HostDetailExtensionHook
}
$graphs = (string) Graphs::forIcingadbObject($host)
- ->setWidth(440)
- ->setHeight(220)
+ ->setWidth('440')
+ ->setHeight('220')
->setClasses(['object-detail-view'])
->setPreloadDummy()
->setShowNoGraphsFound(false)
diff --git a/library/Graphite/ProvidedHook/Icingadb/ServiceDetailExtension.php b/library/Graphite/ProvidedHook/Icingadb/ServiceDetailExtension.php
index 63c2b79..0f4f33a 100644
--- a/library/Graphite/ProvidedHook/Icingadb/ServiceDetailExtension.php
+++ b/library/Graphite/ProvidedHook/Icingadb/ServiceDetailExtension.php
@@ -23,8 +23,8 @@ class ServiceDetailExtension extends ServiceDetailExtensionHook
}
$graphs = (string) Graphs::forIcingadbObject($service)
- ->setWidth(440)
- ->setHeight(220)
+ ->setWidth('440')
+ ->setHeight('220')
->setClasses(['object-detail-view'])
->setPreloadDummy()
->setShowNoGraphsFound(false)
diff --git a/library/Graphite/ProvidedHook/Monitoring/DetailviewExtension.php b/library/Graphite/ProvidedHook/Monitoring/DetailviewExtension.php
index d6a4673..23912a7 100644
--- a/library/Graphite/ProvidedHook/Monitoring/DetailviewExtension.php
+++ b/library/Graphite/ProvidedHook/Monitoring/DetailviewExtension.php
@@ -20,8 +20,8 @@ class DetailviewExtension extends DetailviewExtensionHook
}
$graphs = (string) Graphs::forMonitoredObject($object)
- ->setWidth(440)
- ->setHeight(220)
+ ->setWidth('440')
+ ->setHeight('220')
->setClasses(['object-detail-view'])
->setPreloadDummy()
->setShowNoGraphsFound(false)