File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,15 @@ public function __construct(
22
22
public bool $ trim = false ,
23
23
public ?int $ cols = null ,
24
24
public ?int $ rows = null ,
25
- public bool $ bestfit = false
25
+ public bool $ bestfit = false ,
26
26
) {
27
27
$ this ->format = strtolower ($ format );
28
28
if (in_array ($ this ->format , self ::SupportedFormats, true ) === false ) {
29
- throw new \InvalidArgumentException (
30
- sprintf (
31
- 'Format "%s" is not supported. Did you mean "%s"? ' ,
32
- $ this ->format ,
33
- implode ('", " ' , self ::SupportedFormats),
34
- )
35
- );
29
+ throw new \InvalidArgumentException (sprintf (
30
+ 'Format "%s" is not supported. Did you mean "%s"? ' ,
31
+ $ this ->format ,
32
+ implode ('", " ' , self ::SupportedFormats),
33
+ ));
36
34
}
37
35
if (is_file ($ pdfPath ) === false ) {
38
36
throw new ConvertorException (sprintf ('File "%s" does not exist. ' , $ pdfPath ));
You can’t perform that action at this time.
0 commit comments