Completed
Pull Request — master (#24716)
by Joas
51:50
created
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/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.
lib/public/template.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,8 @@
 block discarded – undo
100 100
 /**
101 101
  * Return the relative date in relation to today. Returns something like "last hour" or "two month ago"
102 102
  * @param int $timestamp unix timestamp
103
- * @param boolean $dateOnly
104
- * @return \OC_L10N_String human readable interpretation of the timestamp
103
+ * @param integer $dateOnly
104
+ * @return string human readable interpretation of the timestamp
105 105
  *
106 106
  * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead
107 107
  */
Please login to merge, or discard this patch.
lib/public/util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -524,7 +524,7 @@
 block discarded – undo
524 524
 	 * @param array $input The array to work on
525 525
 	 * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default)
526 526
 	 * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8
527
-	 * @return array
527
+	 * @return string
528 528
 	 * @since 4.5.0
529 529
 	 */
530 530
 	public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') {
Please login to merge, or discard this patch.
apps/files_sharing/api/server2server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -524,7 +524,7 @@
 block discarded – undo
524 524
 	 * @param array $input The array to work on
525 525
 	 * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default)
526 526
 	 * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8
527
-	 * @return array
527
+	 * @return string
528 528
 	 * @since 4.5.0
529 529
 	 */
530 530
 	public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') {
Please login to merge, or discard this patch.
apps/files_sharing/lib/external/manager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
 	protected $mounts = [];
30 30
 
31
+	/**
32
+	 * @param string $mountPoint
33
+	 */
31 34
 	protected function registerMount($userId, $storage, $mountPoint, $arguments = null) {
32 35
 		if (!isset($this->mounts[$userId])) {
33 36
 			$this->mounts[$userId] = [];
Please login to merge, or discard this patch.
apps/files_external/command/config.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -26,11 +26,8 @@
 block discarded – undo
26 26
 use OCA\Files_external\NotFoundException;
27 27
 use OCA\Files_external\Service\GlobalStoragesService;
28 28
 use Symfony\Component\Console\Command\Command;
29
-use Symfony\Component\Console\Helper\Table;
30
-use Symfony\Component\Console\Helper\TableHelper;
31 29
 use Symfony\Component\Console\Input\InputArgument;
32 30
 use Symfony\Component\Console\Input\InputInterface;
33
-use Symfony\Component\Console\Input\InputOption;
34 31
 use Symfony\Component\Console\Output\OutputInterface;
35 32
 
36 33
 class Config extends Base {
Please login to merge, or discard this patch.
apps/files_external/command/import.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -31,13 +31,10 @@
 block discarded – undo
31 31
 use OCP\IUserManager;
32 32
 use OCP\IUserSession;
33 33
 use Symfony\Component\Console\Command\Command;
34
-use Symfony\Component\Console\Helper\Table;
35
-use Symfony\Component\Console\Helper\TableHelper;
36 34
 use Symfony\Component\Console\Input\ArrayInput;
37 35
 use Symfony\Component\Console\Input\InputArgument;
38 36
 use Symfony\Component\Console\Input\InputInterface;
39 37
 use Symfony\Component\Console\Input\InputOption;
40
-use Symfony\Component\Console\Input\Input;
41 38
 use Symfony\Component\Console\Output\OutputInterface;
42 39
 
43 40
 class Import extends Base {
Please login to merge, or discard this patch.