diff --git a/library/plugins/ReminderTokenUtils.php b/library/plugins/ReminderTokenUtils.php index 4ead9b4d8aad98c93671093f435671c49dcd8879..bb08d24552400a9edf615d4120908ddb4986fa04 100644 --- a/library/plugins/ReminderTokenUtils.php +++ b/library/plugins/ReminderTokenUtils.php @@ -196,13 +196,13 @@ class ReminderTokenUtils return $result; } - /** - * @param string $text - * @return string - * Note : This come from jwtToken, as it is completely private - it is cloned here for now. - */ - private function base64urlEncode (string $text): string - { - return str_replace(["+", "/", "="], ["A", "B", ""], base64_encode($text)); - } + /** + * @param string $text + * @return string + * Note : This come from jwtToken, as it is completely private - it is cloned here for now. + */ + private function base64urlEncode (string $text): string + { + return str_replace(["+", "/", "="], ["A", "B", ""], base64_encode($text)); + } } \ No newline at end of file diff --git a/plugins/tasks/Reminder.php b/plugins/tasks/Reminder.php index ceb619a712d9bf9f0608dca0349f53321c5dd949..180eca7d5bf34d8f84c19f4d302089012aef0382 100644 --- a/plugins/tasks/Reminder.php +++ b/plugins/tasks/Reminder.php @@ -5,7 +5,7 @@ class Reminder implements EndpointInterface private TaskGateway $gateway; private ReminderTokenUtils $reminderTokenUtils; - + public function __construct (TaskGateway $gateway) { $this->gateway = $gateway;