mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 18:53:26 +02:00
PHP 8.1 compatibility
This commit is contained in:
@@ -324,7 +324,7 @@ class OTS_SpellsList implements IteratorAggregate, Countable
|
||||
* @since 0.1.5
|
||||
* @return int Amount of all spells.
|
||||
*/
|
||||
public function count()
|
||||
public function count(): int
|
||||
{
|
||||
return count($this->runes) + count($this->instants) + count($this->conjures);
|
||||
}
|
||||
|
Reference in New Issue
Block a user