mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-10 09:01:04 -04: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue