Correct the variable type check value

This commit is contained in:
Alex Tselegidis 2023-10-09 12:18:10 +02:00
parent cac3e6317d
commit 5bd328ee4f

View file

@ -753,7 +753,7 @@ class Calendar extends EA_Controller {
} }
} }
private function check_event_permissions($provider_id) private function check_event_permissions(int $provider_id): void
{ {
$user_id = (int)session('user_id'); $user_id = (int)session('user_id');
$role_slug = session('role_slug'); $role_slug = session('role_slug');