Skip to content

Commit b1ec8df

Browse files
Update Options.php
1 parent 1bc87ce commit b1ec8df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Options.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class Options
150150
// Thumbnail Images Options
151151
private bool $writeThumbnail = false;
152152
private bool $writeAllThumbnails = false;
153-
private string $convertThumbnail = null ;
153+
private ?string $convertThumbnail = null;
154154

155155

156156
// Verbosity / Simulation Options
@@ -1029,7 +1029,7 @@ public function writeThumbnail(bool $writeThumbnail): self
10291029
* Convert thumbnail to another format.
10301030
* supported: jpg, png, webp
10311031
*/
1032-
public function convertThumbnail(string $format): self
1032+
public function convertThumbnail(?string $format): self
10331033
{
10341034
$new = clone $this;
10351035
$new->convertThumbnail = $format;

0 commit comments

Comments
 (0)