mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Add missing php 8.1 change...
This commit is contained in:
parent
42997566bb
commit
38103bed83
@ -7,6 +7,7 @@ use ArrayIterator;
|
||||
use InvalidArgumentException;
|
||||
use IteratorAggregate;
|
||||
use Less_Environment;
|
||||
use Traversable;
|
||||
|
||||
/**
|
||||
* Registry for light modes and the environments in which they are defined
|
||||
@ -120,7 +121,7 @@ class LightMode implements IteratorAggregate
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getIterator()
|
||||
public function getIterator(): Traversable
|
||||
{
|
||||
return new ArrayIterator(array_keys($this->modes));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user