Completed
Push — master ( 99c28a...4c4331 )
by Robin
47:48
created
apps/files_trashbin/tests/trashbin.php 1 patch
Doc Comments   +16 added lines, -3 removed lines patch added patch discarded remove patch
@@ -246,8 +246,8 @@  discard block
 block discarded – undo
246 246
 
247 247
 	/**
248 248
 	 * verify that the array contains the expected results
249
-	 * @param array $result
250
-	 * @param array $expected
249
+	 * @param OCP\Files\FileInfo[] $result
250
+	 * @param string[] $expected
251 251
 	 */
252 252
 	private function verifyArray($result, $expected) {
253 253
 		$this->assertSame(count($expected), count($result));
@@ -266,6 +266,11 @@  discard block
 block discarded – undo
266 266
 		}
267 267
 	}
268 268
 
269
+	/**
270
+	 * @param OCP\Files\FileInfo[] $files
271
+	 * @param string $trashRoot
272
+	 * @param integer $expireDate
273
+	 */
269 274
 	private function manipulateDeleteTime($files, $trashRoot, $expireDate) {
270 275
 		$counter = 0;
271 276
 		foreach ($files as &$file) {
@@ -625,7 +630,6 @@  discard block
 block discarded – undo
625 630
 	/**
626 631
 	 * @param string $user
627 632
 	 * @param bool $create
628
-	 * @param bool $password
629 633
 	 */
630 634
 	public static function loginHelper($user, $create = false) {
631 635
 		if ($create) {
@@ -648,11 +652,20 @@  discard block
 block discarded – undo
648 652
 
649 653
 // just a dummy class to make protected methods available for testing
650 654
 class TrashbinForTesting extends Files_Trashbin\Trashbin {
655
+
656
+	/**
657
+	 * @param OCP\Files\FileInfo[] $files
658
+	 * @param integer $limit
659
+	 */
651 660
 	public function dummyDeleteExpiredFiles($files, $limit) {
652 661
 		// dummy value for $retention_obligation because it is not needed here
653 662
 		return parent::deleteExpiredFiles($files, \Test_Trashbin::TEST_TRASHBIN_USER1, $limit, 0);
654 663
 	}
655 664
 
665
+	/**
666
+	 * @param OCP\Files\FileInfo[] $files
667
+	 * @param integer $availableSpace
668
+	 */
656 669
 	public function dummyDeleteFiles($files, $availableSpace) {
657 670
 		return parent::deleteFiles($files, \Test_Trashbin::TEST_TRASHBIN_USER1, $availableSpace);
658 671
 	}
Please login to merge, or discard this patch.
apps/files_versions/lib/storage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -649,7 +649,7 @@
 block discarded – undo
649 649
 	/**
650 650
 	 * Expire versions which exceed the quota
651 651
 	 *
652
-	 * @param $filename
652
+	 * @param string $filename
653 653
 	 * @param int|null $versionsSize
654 654
 	 * @param int $offset
655 655
 	 * @return bool|int|null
Please login to merge, or discard this patch.
apps/provisioning_api/tests/groupstest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
 		);
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param string $gid
63
+	 */
61 64
 	private function createGroup($gid) {
62 65
 		$group = $this->getMock('OCP\IGroup');
63 66
 		$group
@@ -66,6 +69,9 @@  discard block
 block discarded – undo
66 69
 		return $group;
67 70
 	}
68 71
 
72
+	/**
73
+	 * @param string $uid
74
+	 */
69 75
 	private function createUser($uid) {
70 76
 		$user = $this->getMock('OCP\IUser');
71 77
 		$user
Please login to merge, or discard this patch.
apps/provisioning_api/tests/userstest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 use OCA\Provisioning_API\Users;
30 30
 use OCP\IUserManager;
31 31
 use OCP\IConfig;
32
-use OCP\IGroupManager;
33 32
 use OCP\IUserSession;
34 33
 use Test\TestCase as OriginalTest;
35 34
 use OCP\ILogger;
Please login to merge, or discard this patch.
apps/user_ldap/command/setconfig.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,6 @@
 block discarded – undo
73 73
 	/**
74 74
 	 * save the configuration value as provided
75 75
 	 * @param string $configID
76
-	 * @param string $configKey
77
-	 * @param string $configValue
78 76
 	 */
79 77
 	protected function setValue($configID, $key, $value) {
80 78
 		$configHolder = new Configuration($configID);
Please login to merge, or discard this patch.
apps/user_ldap/lib/configuration.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,6 @@
 block discarded – undo
281 281
 	 * 
282 282
 	 * @param string $varName name of config-key
283 283
 	 * @param array|string $value to set
284
-	 * @param boolean $trim Trim value? (default: false)
285 284
 	 */
286 285
 	protected function setMultiLine($varName, $value) {
287 286
 		if(empty($value)) {
Please login to merge, or discard this patch.
apps/user_ldap/lib/jobs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	}
69 69
 
70 70
 	/**
71
-	 * @return int
71
+	 * @return string
72 72
 	 */
73 73
 	static private function getRefreshInterval() {
74 74
 		//defaults to every hour
Please login to merge, or discard this patch.
apps/user_ldap/lib/wizard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -864,7 +864,7 @@  discard block
 block discarded – undo
864 864
 	 * @param integer $filterType int, for which use case the filter shall be created
865 865
 	 * can be any of self::LFILTER_USER_LIST, self::LFILTER_LOGIN or
866 866
 	 * self::LFILTER_GROUP_LIST
867
-	 * @return string|false string with the filter on success, false otherwise
867
+	 * @return string string with the filter on success, false otherwise
868 868
 	 * @throws \Exception
869 869
 	 */
870 870
 	private function composeLdapFilter($filterType) {
@@ -1107,7 +1107,7 @@  discard block
 block discarded – undo
1107 1107
 	}
1108 1108
 
1109 1109
 	/**
1110
-	 * @param array $reqs
1110
+	 * @param string[] $reqs
1111 1111
 	 * @return bool
1112 1112
 	 */
1113 1113
 	private function checkRequirements($reqs) {
Please login to merge, or discard this patch.
user_ldap/tests/integration/lib/integrationtestfetchusersbyloginname.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 namespace OCA\user_ldap\tests\integration\lib;
23 23
 
24
-use OCA\user_ldap\lib\user\Manager as LDAPUserManager;
25 24
 use OCA\user_ldap\tests\integration\AbstractIntegrationTest;
26 25
 use OCA\User_LDAP\Mapping\UserMapping;
27 26
 use OCA\user_ldap\USER_LDAP;
Please login to merge, or discard this patch.