always have a Themelet, never null

This commit is contained in:
Shish
2023-06-27 15:56:49 +01:00
parent 304a86b554
commit 00d4f9f75c
70 changed files with 71 additions and 81 deletions

View File

@ -19,7 +19,7 @@ class ImageRotateException extends SCoreException
class RotateImage extends Extension
{
/** @var RotateImageTheme */
protected ?Themelet $theme;
protected Themelet $theme;
public const SUPPORTED_MIME = [MimeType::JPEG, MimeType::PNG, MimeType::GIF, MimeType::WEBP];