Host/Servie::getDataView(): Fix return class name case

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 16:58:07 +02:00 committed by raviks789
parent 2fa9aaedb0
commit ffe84507f9
2 changed files with 4 additions and 2 deletions

View File

@ -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()
{

View File

@ -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()
{