From 737b79b608d64caa7a483c4b76a3a63837c552a3 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 3 Oct 2023 17:24:34 +0300 Subject: [PATCH] fix static call --- src/Service/TimeService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/TimeService.php b/src/Service/TimeService.php index cec6b8d..d6cd530 100644 --- a/src/Service/TimeService.php +++ b/src/Service/TimeService.php @@ -19,7 +19,7 @@ class TimeService if ($diff < 1) { - return self::$translator->trans('now'); + return $this->translator->trans('now'); } $values =