mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Monitoring\ObjectList: expect a MonitoringObject
This commit is contained in:
parent
0992f6cc15
commit
4876854893
@ -5,7 +5,7 @@ namespace Icinga\Module\Monitoring\Object;
|
|||||||
use ArrayIterator;
|
use ArrayIterator;
|
||||||
use Countable;
|
use Countable;
|
||||||
use IteratorAggregate;
|
use IteratorAggregate;
|
||||||
use Icinga\Module\Monitoring\Backend;
|
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||||
|
|
||||||
abstract class ObjectList implements Countable, IteratorAggregate
|
abstract class ObjectList implements Countable, IteratorAggregate
|
||||||
{
|
{
|
||||||
@ -21,7 +21,7 @@ abstract class ObjectList implements Countable, IteratorAggregate
|
|||||||
|
|
||||||
protected $count;
|
protected $count;
|
||||||
|
|
||||||
public function __construct(Backend $backend)
|
public function __construct(MonitoringBackend $backend)
|
||||||
{
|
{
|
||||||
$this->backend = $backend;
|
$this->backend = $backend;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user