The expression return imagecreatefromwebp($filename) also could return the type GdImage which is incompatible with the documented return type resource.
Loading history...
14
}
15
16
/**
17
* @param resource $resource
18
* @param string $filename
19
* @param int $compression
20
* @return void
21
*/
22
1
public function save($resource, string $filename, int $compression = 100): void