Skip to content

Commit

Permalink
! inconsistent calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Feb 16, 2023
1 parent 47b812e commit 98e04de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -61,8 +61,9 @@ abstract public static function canUse();
* @param int|null $max_height The maximum allowed height
* @param bool $strip Whether to have IM strip EXIF data as GD will
* @param bool $force_resize = false Whether to override defaults and resize it
* @param bool $thumbnail True if creating a simple thumbnail
*/
abstract public function resizeImage($max_width = null, $max_height = null, $strip = false, $force_resize = true);
abstract public function resizeImage($max_width = null, $max_height = null, $strip = false, $force_resize = true, $thumbnail = false);

/**
* Rotate an image based on its EXIF flag, used to correct for smart phone pictures.
Expand Down
2 changes: 1 addition & 1 deletion sources/ElkArte/Graphics/TextImage.php
Expand Up @@ -148,7 +148,7 @@ public function autoRotate()
*
* @return bool Always returns true.
*/
public function resizeImage($max_width, $max_height, $strip = false, $force_resize = true)
public function resizeImage($max_width, $max_height, $strip = false, $force_resize = true, $thumbnail = false)
{
return true;
}
Expand Down

0 comments on commit 98e04de

Please sign in to comment.