@@ -71,25 +71,25 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | public function target(string $target = null) |
| 73 | 73 | { |
| 74 | - $this->target = pathinfo($target, PATHINFO_DIRNAME) . '/' . pathinfo($target, PATHINFO_FILENAME); |
|
| 74 | + $this->target = pathinfo($target, PATHINFO_DIRNAME).'/'.pathinfo($target, PATHINFO_FILENAME); |
|
| 75 | 75 | return $this; |
| 76 | 76 | } |
| 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'); |