diff --git a/files/lib/system/suspension/BanSuspension.class.php b/files/lib/system/suspension/BanSuspension.class.php index 385defc..40657e0 100644 --- a/files/lib/system/suspension/BanSuspension.class.php +++ b/files/lib/system/suspension/BanSuspension.class.php @@ -27,7 +27,7 @@ final class BanSuspension implements ISuspension /** * @inheritDoc */ - public function hasEffect(Suspension $suspension) + public function hasEffect(Suspension $suspension): bool { $user = new UserProfile($suspension->getUser()); $room = $suspension->getRoom(); diff --git a/files/lib/system/suspension/MuteSuspension.class.php b/files/lib/system/suspension/MuteSuspension.class.php index 5de126b..faf26be 100644 --- a/files/lib/system/suspension/MuteSuspension.class.php +++ b/files/lib/system/suspension/MuteSuspension.class.php @@ -27,7 +27,7 @@ final class MuteSuspension implements ISuspension /** * @inheritDoc */ - public function hasEffect(Suspension $suspension) + public function hasEffect(Suspension $suspension): bool { $user = new UserProfile($suspension->getUser()); $room = $suspension->getRoom();