diff --git a/modules/monitoring/library/Monitoring/Object/Host.php b/modules/monitoring/library/Monitoring/Object/Host.php index dfb25edb8..f10673d23 100644 --- a/modules/monitoring/library/Monitoring/Object/Host.php +++ b/modules/monitoring/library/Monitoring/Object/Host.php @@ -4,6 +4,7 @@ namespace Icinga\Module\Monitoring\Object; use Icinga\Data\Filter\FilterEqual; +use Icinga\Module\Monitoring\DataView\Hoststatus; use InvalidArgumentException; use Icinga\Module\Monitoring\Backend\MonitoringBackend; @@ -85,7 +86,7 @@ class Host extends MonitoredObject /** * Get the data view to fetch the host information from * - * @return \Icinga\Module\Monitoring\DataView\HostStatus + * @return Hoststatus */ protected function getDataView() { diff --git a/modules/monitoring/library/Monitoring/Object/Service.php b/modules/monitoring/library/Monitoring/Object/Service.php index 95c00fca1..b95c7ed67 100644 --- a/modules/monitoring/library/Monitoring/Object/Service.php +++ b/modules/monitoring/library/Monitoring/Object/Service.php @@ -4,6 +4,7 @@ namespace Icinga\Module\Monitoring\Object; use Icinga\Data\Filter\FilterEqual; +use Icinga\Module\Monitoring\DataView\Servicestatus; use InvalidArgumentException; use Icinga\Module\Monitoring\Backend\MonitoringBackend; @@ -102,7 +103,7 @@ class Service extends MonitoredObject /** * Get the data view * - * @return \Icinga\Module\Monitoring\DataView\ServiceStatus + * @return Servicestatus */ protected function getDataView() {