diff --git a/src/Configuration.php b/src/Configuration.php index 7fcb3a6..01f77e9 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -22,17 +22,15 @@ public function __construct( public bool $trim = false, public ?int $cols = null, public ?int $rows = null, - public bool $bestfit = false + public bool $bestfit = false, ) { $this->format = strtolower($format); if (in_array($this->format, self::SupportedFormats, true) === false) { - throw new \InvalidArgumentException( - sprintf( - 'Format "%s" is not supported. Did you mean "%s"?', - $this->format, - implode('", "', self::SupportedFormats), - ) - ); + throw new \InvalidArgumentException(sprintf( + 'Format "%s" is not supported. Did you mean "%s"?', + $this->format, + implode('", "', self::SupportedFormats), + )); } if (is_file($pdfPath) === false) { throw new ConvertorException(sprintf('File "%s" does not exist.', $pdfPath));