Completed
Push — master ( 3d2ffe...c2fce1 )
by Morris
03:05
created
lib/Data.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
lib/GroupHelper.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -158,6 +158,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
lib/Parameter/Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 	}
58 58
 
59 59
 	/**
60
-	 * @return mixed
60
+	 * @return string
61 61
 	 */
62 62
 	public function getParameter() {
63 63
 		return $this->random;
Please login to merge, or discard this patch.
lib/Controller/RemoteActivity.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -199,6 +199,11 @@
 block discarded – undo
199 199
 		return new DataResponse();
200 200
 	}
201 201
 
202
+	/**
203
+	 * @param string $type
204
+	 * @param string $path
205
+	 * @param string|null $path2
206
+	 */
202 207
 	protected function getSubject($type, $path, $path2) {
203 208
 		switch ($type) {
204 209
 			case 'Create':
Please login to merge, or discard this patch.
lib/FilesHooks.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -221,6 +221,10 @@
 block discarded – undo
221 221
 		}
222 222
 	}
223 223
 
224
+	/**
225
+	 * @param integer $time
226
+	 * @param string|null $actor
227
+	 */
224 228
 	protected function generateRemoteActivity(array $remoteUsers, $type, $time, $actor, $ownerPath = false) {
225 229
 		foreach ($remoteUsers as $remoteUser => $info) {
226 230
 			if ($actor === $remoteUser) {
Please login to merge, or discard this patch.