Monitoring\ObjectList: expect a MonitoringObject

This commit is contained in:
Thomas Gelf 2014-11-12 00:16:07 +01:00
parent 0992f6cc15
commit 4876854893
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}