Completed
Pull Request — 2.3 (#10721)
by Jerome
22:12 queued 08:23
created
engine/lib/filestore.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
  *
41 41
  * @param string $input_name The name of the file input field on the submission form
42 42
  *
43
- * @return mixed|false The contents of the file, or false on failure.
43
+ * @return false|string The contents of the file, or false on failure.
44 44
  * @deprecated 2.3
45 45
  */
46 46
 function get_uploaded_file($input_name) {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
  *                           dimensions on all size; the image will be cropped.
95 95
  * @param bool   $upscale    Resize images smaller than $maxwidth x $maxheight?
96 96
  *
97
- * @return false|mixed The contents of the resized image, or false on failure
97
+ * @return false|string The contents of the resized image, or false on failure
98 98
  * @deprecated 2.3
99 99
  */
100 100
 function get_resized_image_from_uploaded_file($input_name, $maxwidth, $maxheight,
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
  * @param int    $y2         y coordinate for bottom, right corner
138 138
  * @param bool   $upscale    Resize images smaller than $maxwidth x $maxheight?
139 139
  *
140
- * @return false|mixed The contents of the resized image, or false on failure
140
+ * @return false|string The contents of the resized image, or false on failure
141 141
  * @deprecated 2.3
142 142
  */
143 143
 function get_resized_image_from_existing_file($input_name, $maxwidth, $maxheight,
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
  *
332 332
  * @param \ElggFilestore $filestore An \ElggFilestore object.
333 333
  *
334
- * @return true
334
+ * @return boolean
335 335
  * @deprecated Will be removed in 3.0
336 336
  */
337 337
 function set_default_filestore(\ElggFilestore $filestore) {
Please login to merge, or discard this patch.