Use TimeInterface for constructor parameter in MemcacheStatisticsController

Created on 6 February 2023, over 1 year ago
Updated 25 July 2024, about 1 month ago

Currently, the MemcacheStatisticsController::__construct() constructor uses Time as parameter type, instead of TimeInterface.
This makes it fail with https://www.drupal.org/project/datetime_testing β†’ for instance.

Instead, it should use TimeInterface, to allow passing in alternative implementations.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal hernani

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024