Add missing php 8.1 change...
This commit is contained in:
parent
42997566bb
commit
38103bed83
|
@ -7,6 +7,7 @@ use ArrayIterator;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use IteratorAggregate;
|
use IteratorAggregate;
|
||||||
use Less_Environment;
|
use Less_Environment;
|
||||||
|
use Traversable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registry for light modes and the environments in which they are defined
|
* Registry for light modes and the environments in which they are defined
|
||||||
|
@ -120,7 +121,7 @@ class LightMode implements IteratorAggregate
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIterator()
|
public function getIterator(): Traversable
|
||||||
{
|
{
|
||||||
return new ArrayIterator(array_keys($this->modes));
|
return new ArrayIterator(array_keys($this->modes));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue