Completed
Pull Request — master (#5116)
by Nicolai
14:21
created
apps/dav/lib/Connector/Sabre/FilesPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -448,7 +448,7 @@
 block discarded – undo
448 448
 	 *
449 449
 	 * @param string $path source path
450 450
 	 * @param string $destination destination path
451
-	 * @return bool|void false to stop handling, void to skip this handler
451
+	 * @return null|false false to stop handling, void to skip this handler
452 452
 	 */
453 453
 	public function beforeMoveFutureFile($path, $destination) {
454 454
 		$sourceNode = $this->tree->getNodeForPath($path);
Please login to merge, or discard this patch.
apps/theming/lib/ThemingDefaults.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 	 * @param IConfig $config
59 59
 	 * @param IL10N $l
60 60
 	 * @param IURLGenerator $urlGenerator
61
-	 * @param \OC_Defaults $defaults
62 61
 	 * @param IAppData $appData
63 62
 	 * @param ICacheFactory $cacheFactory
64 63
 	 * @param Util $util
Please login to merge, or discard this patch.
apps/theming/lib/Util.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	/**
72 72
 	 * get color for on-page elements:
73 73
 	 * theme color by default, grey if theme color is to bright
74
-	 * @param $color
74
+	 * @param string $color
75 75
 	 * @return string
76 76
 	 */
77 77
 	public function elementColor($color) {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
 	/**
116 116
 	 * @param $app string app name
117
-	 * @return string|ISimpleFile path to app icon / file of logo
117
+	 * @return string path to app icon / file of logo
118 118
 	 */
119 119
 	public function getAppIcon($app) {
120 120
 		$app = str_replace(array('\0', '/', '\\', '..'), '', $app);
@@ -190,8 +190,8 @@  discard block
 block discarded – undo
190 190
 	/**
191 191
 	 * replace default color with a custom one
192 192
 	 *
193
-	 * @param $svg string content of a svg file
194
-	 * @param $color string color to match
193
+	 * @param string $svg string content of a svg file
194
+	 * @param string $color string color to match
195 195
 	 * @return string
196 196
 	 */
197 197
 	public function colorizeSvg($svg, $color) {
Please login to merge, or discard this patch.
lib/private/legacy/template/functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@  discard block
 block discarded – undo
42 42
  * Prints a <script> tag with nonce and defer depending on config
43 43
  * @param string $src the source URL, ignored when empty
44 44
  * @param string $script_content the inline script content, ignored when empty
45
- * @param bool $defer_flag deferred loading or not
46 45
 */
47 46
 function emit_script_tag($src, $script_content) {
48 47
 	$defer_str=' defer';
@@ -76,7 +75,7 @@  discard block
 block discarded – undo
76 75
 /**
77 76
  * Prints an unsanitized string - usage of this function may result into XSS.
78 77
  * Consider using p() instead.
79
- * @param string|array $string the string which will be printed as it is
78
+ * @param string $string the string which will be printed as it is
80 79
  */
81 80
 function print_unescaped($string) {
82 81
 	print($string);
@@ -219,7 +218,7 @@  discard block
 block discarded – undo
219 218
  * make preview_icon available as a simple function
220 219
  * Returns the path to the preview of the image.
221 220
  * @param string $path path of file
222
- * @return link to the preview
221
+ * @return string to the preview
223 222
  */
224 223
 function preview_icon( $path ) {
225 224
 	return \OC::$server->getURLGenerator()->linkToRoute('core.Preview.getPreview', ['x' => 32, 'y' => 32, 'file' => $path]);
@@ -227,6 +226,7 @@  discard block
 block discarded – undo
227 226
 
228 227
 /**
229 228
  * @param string $path
229
+ * @param string $token
230 230
  */
231 231
 function publicPreview_icon ( $path, $token ) {
232 232
 	return \OC::$server->getURLGenerator()->linkToRoute('files_sharing.PublicPreview.getPreview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]);
Please login to merge, or discard this patch.