SimpleImage::adaptive_resize PHP Method

adaptive_resize() public method

This function has been deprecated and will be removed in an upcoming release. Please update your code to use the thumbnail() method instead. The arguments for both methods are exactly the same.
public adaptive_resize ( integer $width, integer | null $height = null ) : SimpleImage
$width integer
$height integer | null If omitted - assumed equal to $width
return SimpleImage
    function adaptive_resize($width, $height = null)
    {
        return $this->thumbnail($width, $height);
    }