@@ -77,19 +77,19 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | public function scaleTo(int $scaleTo) |
| 79 | 79 | { |
| 80 | - $this->options['scale-to'] = '-scale-to '. (string) $scaleTo; |
|
| 80 | + $this->options['scale-to'] = '-scale-to '.(string) $scaleTo; |
|
| 81 | 81 | return $this; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | public function firstPage(int $firstPage) |
| 85 | 85 | { |
| 86 | - $this->options['firstPage'] = '-f '. (string) $firstPage; |
|
| 86 | + $this->options['firstPage'] = '-f '.(string) $firstPage; |
|
| 87 | 87 | return $this; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | public function lastPage(int $lastPage) |
| 91 | 91 | { |
| 92 | - $this->options['lastPage'] = '-l '. (string) $lastPage; |
|
| 92 | + $this->options['lastPage'] = '-l '.(string) $lastPage; |
|
| 93 | 93 | return $this; |
| 94 | 94 | } |
| 95 | 95 | |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | throw new FileFormatNotAllowed("fileformat not allowed {$format}"); |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | - $this->options['format'] = '-' . $format; |
|
| 115 | + $this->options['format'] = '-'.$format; |
|
| 116 | 116 | |
| 117 | 117 | if ($format == 'jpeg') { |
| 118 | 118 | $this->extension('jpg'); |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | |
| 142 | 142 | public function setOptions(string $options) |
| 143 | 143 | { |
| 144 | - $this->options = [ $options ]; |
|
| 144 | + $this->options = [$options]; |
|
| 145 | 145 | return $this; |
| 146 | 146 | } |
| 147 | 147 | |