mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 03:03:26 +02:00
more php 8.x compatibility
This commit is contained in:
@@ -308,7 +308,7 @@ class OTS_SpellsList implements IteratorAggregate, Countable
|
||||
* @since 0.1.5
|
||||
* @return AppendIterator Iterator for all spells.
|
||||
*/
|
||||
public function getIterator()
|
||||
public function getIterator(): Traversable
|
||||
{
|
||||
$iterator = new AppendIterator();
|
||||
$iterator->append( new ArrayIterator($this->runes) );
|
||||
|
Reference in New Issue
Block a user