We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bc87ce commit b1ec8dfCopy full SHA for b1ec8df
src/Options.php
@@ -150,7 +150,7 @@ class Options
150
// Thumbnail Images Options
151
private bool $writeThumbnail = false;
152
private bool $writeAllThumbnails = false;
153
- private string $convertThumbnail = null ;
+ private ?string $convertThumbnail = null;
154
155
156
// Verbosity / Simulation Options
@@ -1029,7 +1029,7 @@ public function writeThumbnail(bool $writeThumbnail): self
1029
* Convert thumbnail to another format.
1030
* supported: jpg, png, webp
1031
*/
1032
- public function convertThumbnail(string $format): self
+ public function convertThumbnail(?string $format): self
1033
{
1034
$new = clone $this;
1035
$new->convertThumbnail = $format;
0 commit comments