mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 04:14:24 +02:00
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:
parent
a68e0595ff
commit
caede2aaa9
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user