Completed
Push — max-version-9.0-791d122c ( 791d12 )
by Thomas
26:14
created
backend/contact/backend.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 class Backend extends Contact implements BackendUtils\IBackendAPI {
32 32
 
33 33
 	/**
34
-	 * @param IManager $appManager
35 34
 	 */
36 35
 	public function __construct(IManager $contactsManager) {
37 36
 		parent::__construct($contactsManager);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
backend/contact/calendar.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
 
152 152
 
153 153
 	/**
154
-	 * @param $privateUri
154
+	 * @param string $privateUri
155 155
 	 * @return string
156 156
 	 */
157 157
 	private function generateDisplayname($privateUri) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
backend/contact/contact.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 
40 40
 
41 41
 	/**
42
-	 * @param IManager $contacts
43 42
 	 */
44 43
 	public function __construct(IManager $contactsManager) {
45 44
 		$this->contactsManager = $contactsManager;
Please login to merge, or discard this patch.
backend/contact/object.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
 
223 223
 	/**
224 224
 	 * get contact entity based on object's uri
225
-	 * @param $objectURI
225
+	 * @param string $objectURI
226 226
 	 * @return null | []
227 227
 	 */
228 228
 	private function getContactFromUri($objectURI) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
backend/local/object.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 	/**
293 293
 	 * create an object object from row
294 294
 	 * @param array $row
295
-	 * @return \OCA\Calendar\IEntity
295
+	 * @return \OCA\Calendar\Db\Object|null
296 296
 	 */
297 297
 	private function rowToEntity($row) {
298 298
 		$object = $this->factory->createEntity([
@@ -355,6 +355,8 @@  discard block
 block discarded – undo
355 355
 	 * @param \DateTime $end
356 356
 	 * @param string &$sql
357 357
 	 * @param array &$params
358
+	 * @param string $sql
359
+	 * @param integer[] $params
358 360
 	 */
359 361
 	private function addPeriodQuery(\DateTime $start, \DateTime $end, &$sql, &$params) {
360 362
 		$start->modify('-1 day');
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\Calendar\Utility;
23 23
 
24 24
 use OCP\AppFramework\Db\DoesNotExistException;
25
-
26 25
 use OCA\Calendar\Db\Timezone;
27 26
 use OCA\Calendar\Db\TimezoneMapper;
28 27
 use Sabre\VObject\Component;
Please login to merge, or discard this patch.
businesslayer/calendarmanager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,10 +25,8 @@
 block discarded – undo
25 25
 use OCA\Calendar\Cache\Calendar as CalendarCache;
26 26
 use OCA\Calendar\IBackendCollection;
27 27
 use OCA\Calendar\ICalendar;
28
-
29 28
 use OCP\AppFramework\Db\DoesNotExistException;
30 29
 use OCP\AppFramework\Db\MultipleObjectsReturnedException;
31
-use OCP\AppFramework\Http;
32 30
 
33 31
 class CalendarManager extends BusinessLayer {
34 32
 
Please login to merge, or discard this patch.
businesslayer/subscription.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 use OCA\Calendar\IBackendCollection;
26 26
 use OCP\AppFramework\Db\DoesNotExistException;
27 27
 use OCP\AppFramework\Db\MultipleObjectsReturnedException;
28
-use OCP\AppFramework\Http;
29 28
 use OCA\Calendar\ISubscription;
30 29
 use OCA\Calendar\Backend as BackendUtils;
31 30
 
Please login to merge, or discard this patch.
businesslayer/timezone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	 * @param string $tzId
74 74
 	 * @param string $userId
75 75
 	 * @throws Exception
76
-	 * @return \OCA\Calendar\ITimezone
76
+	 * @return \OCA\Calendar\Db\Timezone|null
77 77
 	 */
78 78
 	public function find($tzId, $userId) {
79 79
 		try {
Please login to merge, or discard this patch.
cache/calendar/cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
 
286 286
 	/**
287 287
 	 * @param string $sql
288
-	 * @param array $params
288
+	 * @param string[] $params
289 289
 	 */
290 290
 	protected function addBackendQuery(&$sql, array &$params) {
291 291
 		//TODO remove hack:
Please login to merge, or discard this patch.