Revert "Fix compatibility with PHP 8.1"

This reverts commit 1d1e927d56.
This commit is contained in:
slawkens
2023-02-02 15:39:20 +01:00
parent 1fb1fb3ae9
commit 77460b0832
7 changed files with 21 additions and 21 deletions

View File

@@ -30,7 +30,7 @@
* @property-write IOTS_GuildAction $requestsDriver Membership requests handler.
* @tutorial POT/Guilds.pkg
*/
class OTS_Guild extends OTS_Row_DAO implements Countable
class OTS_Guild extends OTS_Row_DAO implements IteratorAggregate, Countable
{
/**
* Guild data.
@@ -723,7 +723,7 @@ class OTS_Guild extends OTS_Row_DAO implements Countable
* @throws PDOException On PDO operation error.
* @return int Count of ranks.
*/
public function count(): int
public function count()
{
return $this->getGuildRanksList()->count();
}