From a5c8bd861092418c1581273776be2aa270ca0501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Mon, 24 Oct 2022 10:27:52 +0200 Subject: [PATCH] Fix coding standard. --- src/Configuration.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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));