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 Countable;
|
||||
use IteratorAggregate;
|
||||
use Icinga\Module\Monitoring\Backend;
|
||||
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||
|
||||
abstract class ObjectList implements Countable, IteratorAggregate
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ abstract class ObjectList implements Countable, IteratorAggregate
|
|||
|
||||
protected $count;
|
||||
|
||||
public function __construct(Backend $backend)
|
||||
public function __construct(MonitoringBackend $backend)
|
||||
{
|
||||
$this->backend = $backend;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue