mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Change the scope of the "get_available_periods" method to public so that other places in code can call it
This commit is contained in:
parent
b800cf239d
commit
6e395834ab
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ class Availability
|
|||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function get_available_periods(string $date, array $provider, int $exclude_appointment_id = null): array
|
||||
public function get_available_periods(string $date, array $provider, int $exclude_appointment_id = null): array
|
||||
{
|
||||
// Get the service, provider's working plan and provider appointments.
|
||||
$working_plan = json_decode($provider['settings']['working_plan'], true);
|
||||
|
|
Loading…
Reference in a new issue