diff --git a/Classes/Utility/LogUtility.php b/Classes/Utility/LogUtility.php index e102a69..eccb9fd 100644 --- a/Classes/Utility/LogUtility.php +++ b/Classes/Utility/LogUtility.php @@ -60,7 +60,7 @@ public static function log($state, User $user, array $additionalProperties = []) /** * @return Dispatcher */ - protected function getDispatcher() + protected static function getDispatcher() { return self::getObjectManager()->get(Dispatcher::class); } @@ -68,7 +68,7 @@ protected function getDispatcher() /** * @return Log */ - protected function getLog() + protected static function getLog() { return self::getObjectManager()->get(Log::class); } @@ -76,7 +76,7 @@ protected function getLog() /** * @return LogRepository */ - protected function getLogRepository() + protected static function getLogRepository() { return self::getObjectManager()->get(LogRepository::class); }