[icinga-checkins] icinga.org: icingaweb2/feature/setup-wizard-7163: Monitoring\ObjectList: expect a MonitoringObject

git at icinga.org git at icinga.org
Wed Nov 12 12:11:34 CET 2014


Module: icingaweb2
Branch: feature/setup-wizard-7163
Commit: 48768548930667c10e06f8d281a56234bb7688b9
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=48768548930667c10e06f8d281a56234bb7688b9

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Nov 12 00:16:07 2014 +0100

Monitoring\ObjectList: expect a MonitoringObject

---

 modules/monitoring/library/Monitoring/Object/ObjectList.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/monitoring/library/Monitoring/Object/ObjectList.php b/modules/monitoring/library/Monitoring/Object/ObjectList.php
index 1e5595d..6eb1e4d 100644
--- a/modules/monitoring/library/Monitoring/Object/ObjectList.php
+++ b/modules/monitoring/library/Monitoring/Object/ObjectList.php
@@ -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;
     }



More information about the icinga-checkins mailing list