summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-21 20:27:53 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-21 20:27:53 +0100
commitc3544bd27e3c4078f213ce45264b6245681c3e2f (patch)
treea223c5a3ce08ef44fec099f2a9940e93757cd78d /lib/private/appframework
parent510488ad3e24110c435423860e9afbc58020ed66 (diff)
parentba03b0b84324dd93c2e9bd048a695c2b4afe9982 (diff)
downloadnextcloud-server-c3544bd27e3c4078f213ce45264b6245681c3e2f.tar.gz
nextcloud-server-c3544bd27e3c4078f213ce45264b6245681c3e2f.zip
Merge pull request #12982 from owncloud/timefac-iface
Add an interface for the timefactory class
Diffstat (limited to 'lib/private/appframework')
-rw-r--r--lib/private/appframework/utility/timefactory.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/appframework/utility/timefactory.php b/lib/private/appframework/utility/timefactory.php
index a9b07a356e3..f13b73407ab 100644
--- a/lib/private/appframework/utility/timefactory.php
+++ b/lib/private/appframework/utility/timefactory.php
@@ -24,11 +24,13 @@
namespace OC\AppFramework\Utility;
+use OCP\AppFramework\Utility\ITimeFactory;
+
/**
* Needed to mock calls to time()
*/
-class TimeFactory {
+class TimeFactory implements ITimeFactory {
/**