[core] width and height are non-null

This commit is contained in:
Shish 2024-01-15 18:32:22 +00:00
parent 2f05ef4a0b
commit 107485d991

View file

@ -361,8 +361,8 @@ class Image implements \ArrayAccess
"length = :length WHERE id = :id",
[
"id" => $this->id,
"width" => $this->width ?? 0,
"height" => $this->height ?? 0,
"width" => $this->width,
"height" => $this->height,
"lossless" => $this->lossless,
"video" => $this->video,
"video_codec" => $this->video_codec,