summaryrefslogtreecommitdiffstats
path: root/service/itemservice.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-17 19:20:21 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-18 14:06:07 +0100
commit73759298658da929fe2da06d0446a93a56859067 (patch)
tree99972490a099d31c70a0f856d681f71e194103a3 /service/itemservice.php
parentf741d1fd502687aafede499ab55c0803ad469df3 (diff)
first stab at intelligent container
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;