Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix docstring
Docstring was copy-pasted and not updated.

Signed-off-by: JelleV <[email protected]>
  • Loading branch information
jcjveraa committed Jun 9, 2022
commit c9f94ddafaa05402f5d77ae45c3013ff9d4ad2b4
2 changes: 1 addition & 1 deletion apps/theming/lib/ImageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function updateImage(string $key, string $tmpFile): string {
* a maximum of 4096 pixels wide (preserving aspect ratio), but only if the resizing
* results in an image that has a smaller file size than the uploaded file.
*
* @param string $originalTmpFile The image key, e.g. "favicon"
* @param string $originalTmpFile The tmpFile(path) as uploaded by the user
* @return string Location of the resized file, or the original
*/
private function getResizedImagePathIfResizeIsSmaller(string $originalTmpFile): string
Expand Down