diff --git a/src/Schedule/Schedule.php b/src/Schedule/Schedule.php index 661baa5..0466f84 100644 --- a/src/Schedule/Schedule.php +++ b/src/Schedule/Schedule.php @@ -53,7 +53,7 @@ class Schedule extends SingleTon protected function reader(): array { $data = file_get_contents($this->repository); - return json_decode($data, true); + return json_decode($data, true) ?? []; } /**