mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 11:13:27 +02:00
PHP 8.1 compatibility
This commit is contained in:
@@ -163,7 +163,7 @@ class OTS_MonstersList implements Iterator, Countable, ArrayAccess
|
||||
*
|
||||
* @return int Count of monsters.
|
||||
*/
|
||||
public function count()
|
||||
public function count(): int
|
||||
{
|
||||
return count($this->monsters);
|
||||
}
|
||||
|
Reference in New Issue
Block a user