|
|
@ -345,7 +345,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
private function has_good_staff_rating(): bool {
|
|
|
|
private function has_good_staff_rating(): bool {
|
|
|
|
$recommended_staff_count = $this->active_users / CommunityRoom::USERS_PER_STAFF;
|
|
|
|
$recommended_staff_count = $this->active_users / CommunityRoom::USERS_PER_STAFF;
|
|
|
|
return count($this->get_staff()) >= $recommended_staff_count;
|
|
|
|
$staff_count = count($this->get_staff());
|
|
|
|
|
|
|
|
return $staff_count >= $recommended_staff_count && $staff_count >= CommunityRoom::MINIMUM_STAFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private function has_poor_staff_rating(): bool {
|
|
|
|
private function has_poor_staff_rating(): bool {
|
|
|
|