@@ -30,7 +30,6 @@ |
||
30 | 30 | use OCP\Activity\IManager; |
31 | 31 | use OCP\DB\QueryBuilder\IQueryBuilder; |
32 | 32 | use OCP\IDBConnection; |
33 | -use OCP\IL10N; |
|
34 | 33 | |
35 | 34 | /** |
36 | 35 | * @brief Class for managing the data in the activities |
@@ -158,6 +158,7 @@ |
||
158 | 158 | |
159 | 159 | /** |
160 | 160 | * @param IEvent $event |
161 | + * @param integer $id |
|
161 | 162 | * @return array |
162 | 163 | */ |
163 | 164 | protected function eventToArray(IEvent $event, $id) { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | namespace OCA\Activity; |
24 | 24 | |
25 | 25 | use OCA\Activity\Extension\LegacyParser; |
26 | -use OCA\Activity\Parameter\IParameter; |
|
27 | 26 | use OCP\Activity\IEvent; |
28 | 27 | use OCP\Activity\IManager; |
29 | 28 | use OCP\IL10N; |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | public function getParameter() { |
63 | 63 | return $this->random; |