`MonitoringBackend`: Import interface `QueryInterface`

The return type of `modules/monitoring/library/Monitoring/Backend/MonitoringBackend::query()` is `Icinga\Data\QueryInterface`.
Hence this interface is imported in `MonitoringBackend::class`.
This commit is contained in:
raviks789 2023-08-14 15:50:33 +02:00
parent a68e0595ff
commit caede2aaa9
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ namespace Icinga\Module\Monitoring\Backend;
use Icinga\Application\Config;
use Icinga\Data\ConfigObject;
use Icinga\Data\QueryInterface;
use Icinga\Data\ResourceFactory;
use Icinga\Data\ConnectionInterface;
use Icinga\Data\Queryable;
@ -268,7 +269,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
* @param string $name Query name
* @param array $columns Optional column list
*
* @return Icinga\Data\QueryInterface
* @return QueryInterface
*
* @throws ProgrammingError When the query does not exist for this backend
*/