Completed
Pull Request — master (#23832)
by Blizzz
09:27
created
apps/dav/lib/comments/entitycollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 	/**
107 107
 	 * Returns an array with all the child nodes
108 108
 	 *
109
-	 * @return \Sabre\DAV\INode[]
109
+	 * @return CommentNode[]
110 110
 	 */
111 111
 	function getChildren() {
112 112
 		return $this->findChildren();
Please login to merge, or discard this patch.
apps/dav/lib/comments/rootcollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 	/**
146 146
 	 * Returns an array with all the child nodes
147 147
 	 *
148
-	 * @return \Sabre\DAV\INode[]
148
+	 * @return EntityTypeCollection[]
149 149
 	 */
150 150
 	function getChildren() {
151 151
 		$this->initCollections();
Please login to merge, or discard this patch.
apps/federation/command/syncfederationaddressbooks.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace OCA\Federation\Command;
4 4
 
5
-use OCA\Federation\DbHandler;
6 5
 use Symfony\Component\Console\Command\Command;
7 6
 use Symfony\Component\Console\Helper\ProgressBar;
8 7
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
apps/federation/lib/syncfederationaddressbooks.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,10 +3,6 @@
 block discarded – undo
3 3
 namespace OCA\Federation;
4 4
 
5 5
 use OCA\DAV\CardDAV\SyncService;
6
-use Symfony\Component\Console\Command\Command;
7
-use Symfony\Component\Console\Helper\ProgressBar;
8
-use Symfony\Component\Console\Input\InputInterface;
9
-use Symfony\Component\Console\Output\OutputInterface;
10 6
 
11 7
 class SyncFederationAddressBooks {
12 8
 
Please login to merge, or discard this patch.
lib/private/l10n/factory.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -256,6 +256,11 @@
 block discarded – undo
256 256
 	 */
257 257
 	// FIXME This method is only public, until OC_L10N does not need it anymore,
258 258
 	// FIXME This is also the reason, why it is not in the public interface
259
+
260
+	/**
261
+	 * @param string|boolean $app
262
+	 * @param string|null $lang
263
+	 */
259 264
 	public function getL10nFilesForApp($app, $lang) {
260 265
 		$languageFiles = [];
261 266
 
Please login to merge, or discard this patch.
lib/private/l10n/l10n.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.
lib/private/legacy/l10n.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
 	/**
330 330
 	 * find all available languages for an app
331 331
 	 * @param string $app App that needs to be translated
332
-	 * @return array an array of available languages
332
+	 * @return string[] an array of available languages
333 333
 	 * @deprecated 9.0.0 Use \OC::$server->getL10NFactory()->findAvailableLanguages() instead
334 334
 	 */
335 335
 	public static function findAvailableLanguages($app=null) {
Please login to merge, or discard this patch.
lib/private/template/base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	/**
97 97
 	 * Appends a variable
98 98
 	 * @param string $key key
99
-	 * @param mixed $value value
99
+	 * @param string $value value
100 100
 	 * @return boolean|null
101 101
 	 *
102 102
 	 * This function assigns a variable in an array context. If the key already
Please login to merge, or discard this patch.
apps/dav/lib/comments/commentsplugin.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.