`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…
Reference in New Issue