The expression return $this->cropper->m...image, $width, $height) could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
39
}
40
41
/**
42
* @param string|null $image
43
*/
44
public function flush(?string $image = null): void