`ObjectList`: Include `\Icinga\Data\Filter\FilterChain` as return type in `getFilter()`

This commit is contained in:
raviks789 2023-08-14 14:51:07 +02:00
parent b813e0badb
commit 30c26f16fe
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ namespace Icinga\Module\Monitoring\Object;
use ArrayIterator;
use Countable;
use Icinga\Data\Filter\Filter;
use Icinga\Data\Filter\FilterChain;
use Icinga\Data\Filterable;
use IteratorAggregate;
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
@ -79,7 +80,7 @@ abstract class ObjectList implements Countable, IteratorAggregate, Filterable
}
/**
* @return Filter
* @return Filter|FilterChain
*/
public function getFilter()
{