Completed
Pull Request — master (#22299)
by Erik
13:51
created
lib/private/user/user.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
 	/**
333 333
 	 * get the users email address
334 334
 	 *
335
-	 * @return string|null
335
+	 * @return string
336 336
 	 * @since 9.0.0
337 337
 	 */
338 338
 	public function getEMailAddress() {
@@ -417,6 +417,10 @@  discard block
 block discarded – undo
417 417
 		return $url;
418 418
 	}
419 419
 
420
+	/**
421
+	 * @param string $feature
422
+	 * @param string $value
423
+	 */
420 424
 	public function triggerChange($feature, $value = null) {
421 425
 		if ($this->emitter) {
422 426
 			$this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value));
Please login to merge, or discard this patch.
lib/public/app/managerevent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	 * DispatcherEvent constructor.
47 47
 	 *
48 48
 	 * @param string $event
49
-	 * @param $appID
49
+	 * @param string $appID
50 50
 	 * @param \OCP\IGroup[] $groups
51 51
 	 * @since 9.0.0
52 52
 	 */
Please login to merge, or discard this patch.
apps/dav/lib/server.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
 namespace OCA\DAV;
24 24
 
25 25
 use OCA\DAV\CalDAV\Schedule\IMipPlugin;
26
-use OCA\DAV\Connector\FedAuth;
27 26
 use OCA\DAV\Connector\Sabre\Auth;
28 27
 use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin;
29 28
 use OCA\DAV\Files\CustomPropertiesBackend;
@@ -33,7 +32,6 @@  discard block
 block discarded – undo
33 32
 use Sabre\DAV\IFile;
34 33
 use Sabre\HTTP\RequestInterface;
35 34
 use Sabre\HTTP\ResponseInterface;
36
-use Sabre\HTTP\Util;
37 35
 
38 36
 class Server {
39 37
 
Please login to merge, or discard this patch.
apps/encryption/lib/crypto/encryption.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@
 block discarded – undo
370 370
 	 * @param string $path path to the file which should be updated
371 371
 	 * @param string $uid of the user who performs the operation
372 372
 	 * @param array $accessList who has access to the file contains the key 'users' and 'public'
373
-	 * @return boolean
373
+	 * @return null|boolean
374 374
 	 */
375 375
 	public function update($path, $uid, array $accessList) {
376 376
 
Please login to merge, or discard this patch.
apps/dav/lib/carddav/xml/groups.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 namespace OCA\DAV\Connector\Sabre;
22 22
 
23 23
 use Sabre\Xml\XmlSerializable;
24
-use Sabre\Xml\Element;
25 24
 use Sabre\Xml\Writer;
26 25
 
27 26
 /**
Please login to merge, or discard this patch.
apps/files_sharing/lib/migration.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,6 @@
 block discarded – undo
128 128
 	/**
129 129
 	 * Get $n re-shares from the database
130 130
 	 *
131
-	 * @param int $n The max number of shares to fetch
132 131
 	 * @return \Doctrine\DBAL\Driver\Statement
133 132
 	 */
134 133
 	private function getReShares() {
Please login to merge, or discard this patch.
apps/dav/lib/caldav/caldavbackend.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -280,6 +280,9 @@  discard block
 block discarded – undo
280 280
 		return $calendar;
281 281
 	}
282 282
 
283
+	/**
284
+	 * @param integer $calendarId
285
+	 */
283 286
 	public function getCalendarById($calendarId) {
284 287
 		$fields = array_values($this->propertyMap);
285 288
 		$fields[] = 'id';
@@ -588,7 +591,7 @@  discard block
 block discarded – undo
588 591
 	 * calendar-data. If the result of a subsequent GET to this object is not
589 592
 	 * the exact same as this request body, you should omit the ETag.
590 593
 	 *
591
-	 * @param mixed $calendarId
594
+	 * @param integer $calendarId
592 595
 	 * @param string $objectUri
593 596
 	 * @param string $calendarData
594 597
 	 * @return string
@@ -1027,7 +1030,7 @@  discard block
 block discarded – undo
1027 1030
 	 * @param string $principalUri
1028 1031
 	 * @param string $uri
1029 1032
 	 * @param array $properties
1030
-	 * @return mixed
1033
+	 * @return integer
1031 1034
 	 */
1032 1035
 	function createSubscription($principalUri, $uri, array $properties) {
1033 1036
 
Please login to merge, or discard this patch.
apps/dav/lib/comments/commentnode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 	 * Returns the list of members for a group-principal
137 137
 	 *
138 138
 	 * @param string $principal
139
-	 * @return array
139
+	 * @return string[]
140 140
 	 */
141 141
 	function getGroupMemberSet($principal) {
142 142
 		// TODO: for now the group principal has only one member, the user itself
Please login to merge, or discard this patch.
apps/dav/lib/connector/sabre/custompropertiesbackend.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 	private $cache = [];
76 76
 
77 77
 	/**
78
-	 * @param Tree $tree node tree
78
+	 * @param ObjectTree $tree node tree
79 79
 	 * @param IDBConnection $connection database connection
80 80
 	 * @param IUser $user owner of the tree and properties
81 81
 	 */
Please login to merge, or discard this patch.