Added missing type hints for method params

This commit is contained in:
Alex Tselegidis 2021-10-29 13:10:54 +02:00
parent 3dee2ef4ef
commit 8b02cbb369

View file

@ -426,7 +426,7 @@ class Appointments_model extends EA_Model {
* *
* @return int Returns the number of appointments that match the provided criteria. * @return int Returns the number of appointments that match the provided criteria.
*/ */
public function get_other_service_attendants_number(DateTime $start, DateTime $end, int $service_id, $provider_id, $exclude_appointment_id = NULL): int public function get_other_service_attendants_number(DateTime $start, DateTime $end, int $service_id, int $provider_id, int $exclude_appointment_id = NULL): int
{ {
if ($exclude_appointment_id) if ($exclude_appointment_id)
{ {