Completed
Push — master ( deca08...a0e2ea )
by Jan-Christoph
08:28
created
lib/private/group/manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
 	/**
154 154
 	 * @param string $gid
155
-	 * @return \OCP\IGroup
155
+	 * @return null|Group
156 156
 	 */
157 157
 	protected function getGroupObject($gid) {
158 158
 		$backends = array();
Please login to merge, or discard this patch.
lib/private/preview.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -923,7 +923,7 @@
 block discarded – undo
923 923
 	 * @param int $previewWidth
924 924
 	 * @param int $previewHeight
925 925
 	 *
926
-	 * @return int[]
926
+	 * @return double[]
927 927
 	 */
928 928
 	private function scale($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight) {
929 929
 		$scalingUp = $this->getScalingUp();
Please login to merge, or discard this patch.
apps/dav/lib/dav/sharing/plugin.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\DAV\Connector\Sabre\Auth;
26 26
 use OCA\DAV\DAV\Sharing\Xml\Invite;
27 27
 use OCP\IRequest;
28
-use Sabre\DAV\Exception\BadRequest;
29 28
 use Sabre\DAV\Exception\NotFound;
30 29
 use Sabre\DAV\INode;
31 30
 use Sabre\DAV\PropFind;
Please login to merge, or discard this patch.
apps/dav/command/createaddressbook.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -22,11 +22,6 @@
 block discarded – undo
22 22
 namespace OCA\DAV\Command;
23 23
 
24 24
 use OCA\DAV\CardDAV\CardDavBackend;
25
-use OCA\DAV\Connector\Sabre\Principal;
26
-use OCP\IConfig;
27
-use OCP\IDBConnection;
28
-use OCP\IGroupManager;
29
-use OCP\ILogger;
30 25
 use OCP\IUserManager;
31 26
 use Symfony\Component\Console\Command\Command;
32 27
 use Symfony\Component\Console\Input\InputArgument;
Please login to merge, or discard this patch.
apps/dav/command/syncsystemaddressbook.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,10 +21,8 @@
 block discarded – undo
21 21
 namespace OCA\DAV\Command;
22 22
 
23 23
 use OCA\DAV\CardDAV\SyncService;
24
-use OCP\IUserManager;
25 24
 use Symfony\Component\Console\Command\Command;
26 25
 use Symfony\Component\Console\Helper\ProgressBar;
27
-use Symfony\Component\Console\Input\InputArgument;
28 26
 use Symfony\Component\Console\Input\InputInterface;
29 27
 use Symfony\Component\Console\Output\OutputInterface;
30 28
 
Please login to merge, or discard this patch.
apps/dav/lib/caldav/caldavbackend.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -286,6 +286,9 @@  discard block
 block discarded – undo
286 286
 		return $calendar;
287 287
 	}
288 288
 
289
+	/**
290
+	 * @param integer $calendarId
291
+	 */
289 292
 	public function getCalendarById($calendarId) {
290 293
 		$fields = array_values($this->propertyMap);
291 294
 		$fields[] = 'id';
@@ -594,7 +597,7 @@  discard block
 block discarded – undo
594 597
 	 * calendar-data. If the result of a subsequent GET to this object is not
595 598
 	 * the exact same as this request body, you should omit the ETag.
596 599
 	 *
597
-	 * @param mixed $calendarId
600
+	 * @param integer $calendarId
598 601
 	 * @param string $objectUri
599 602
 	 * @param string $calendarData
600 603
 	 * @return string
@@ -1033,7 +1036,7 @@  discard block
 block discarded – undo
1033 1036
 	 * @param string $principalUri
1034 1037
 	 * @param string $uri
1035 1038
 	 * @param array $properties
1036
-	 * @return mixed
1039
+	 * @return integer
1037 1040
 	 */
1038 1041
 	function createSubscription($principalUri, $uri, array $properties) {
1039 1042
 
@@ -1374,6 +1377,9 @@  discard block
 block discarded – undo
1374 1377
 		return $this->sharingBackend->applyShareAcl($resourceId, $acl);
1375 1378
 	}
1376 1379
 
1380
+	/**
1381
+	 * @param boolean $toV2
1382
+	 */
1377 1383
 	private function convertPrincipal($principalUri, $toV2) {
1378 1384
 		if ($this->principalBackend->getPrincipalPrefix() === 'principals') {
1379 1385
 			list(, $name) = URLUtil::splitPath($principalUri);
Please login to merge, or discard this patch.
apps/dav/lib/connector/legacydavacl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
 		);
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param boolean $toV2
64
+	 */
62 65
 	private function convertPrincipal($principal, $toV2) {
63 66
 		list(, $name) = URLUtil::splitPath($principal);
64 67
 		if ($toV2) {
Please login to merge, or discard this patch.
apps/dav/lib/connector/sabre/file.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return true;
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $path
149
+	 */
147 150
 	public function url_stat($path) {
148 151
 		if (isset(self::$data[$path])) {
149 152
 			$size = strlen(self::$data[$path]);
Please login to merge, or discard this patch.
apps/dav/lib/connector/sabre/davaclplugin.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -22,14 +22,11 @@
 block discarded – undo
22 22
 namespace OCA\DAV\Connector\Sabre;
23 23
 
24 24
 use Sabre\DAV\Exception\NotFound;
25
-use Sabre\DAV\IFile;
26 25
 use Sabre\DAV\INode;
27 26
 use \Sabre\DAV\PropFind;
28 27
 use \Sabre\DAV\PropPatch;
29
-use Sabre\DAVACL\Exception\NeedPrivileges;
30 28
 use \Sabre\HTTP\RequestInterface;
31 29
 use \Sabre\HTTP\ResponseInterface;
32
-use Sabre\HTTP\URLUtil;
33 30
 
34 31
 /**
35 32
  * Class DavAclPlugin is a wrapper around \Sabre\DAVACL\Plugin that returns 404
Please login to merge, or discard this patch.