summaryrefslogtreecommitdiffstats
path: root/service/itemservice.php
diff options
context:
space:
mode:
Diffstat (limited to 'service/itemservice.php')
-rw-r--r--service/itemservice.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/itemservice.php b/service/itemservice.php
index 329283a92..900da3fb3 100644
--- a/service/itemservice.php
+++ b/service/itemservice.php
@@ -14,6 +14,7 @@
namespace OCA\News\Service;
use \OCP\AppFramework\Db\DoesNotExistException;
+use \OCP\AppFramework\Utility\ITimeFactory;
use \OCA\News\Db\ItemMapper;
use \OCA\News\Db\StatusFlag;
@@ -30,7 +31,7 @@ class ItemService extends Service {
public function __construct(ItemMapper $itemMapper,
StatusFlag $statusFlag,
- $timeFactory,
+ ITimeFactory $timeFactory,
Config $config){
parent::__construct($itemMapper);
$this->statusFlag = $statusFlag;