summaryrefslogtreecommitdiffstats
path: root/library/Graphite/ProvidedHook/Icingadb
diff options
context:
space:
mode:
Diffstat (limited to 'library/Graphite/ProvidedHook/Icingadb')
-rw-r--r--library/Graphite/ProvidedHook/Icingadb/HostDetailExtension.php4
-rw-r--r--library/Graphite/ProvidedHook/Icingadb/ServiceDetailExtension.php4
2 files changed, 4 insertions, 4 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)