@@ -50,8 +50,7 @@ |
||
| 50 | 50 | private function center() |
| 51 | 51 | { |
| 52 | 52 | ($this->dimensions['x'] >= $this->dimensions['y']) ? |
| 53 | - $this->position['x'] = ($this->dimensions['x'] - $this->dimensions['y']) / 2 : |
|
| 54 | - $this->position['y'] = ($this->dimensions['y'] - $this->dimensions['x']) / 2; |
|
| 53 | + $this->position['x'] = ($this->dimensions['x'] - $this->dimensions['y']) / 2 : $this->position['y'] = ($this->dimensions['y'] - $this->dimensions['x']) / 2; |
|
| 55 | 54 | } |
| 56 | 55 | |
| 57 | 56 | private function left() |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | class Conversion |
| 10 | 10 | { |
| 11 | 11 | private string $conversionTo = 'default'; |
| 12 | - private array $allowFormatConversion = ['webp','png','jpeg']; |
|
| 12 | + private array $allowFormatConversion = ['webp', 'png', 'jpeg']; |
|
| 13 | 13 | |
| 14 | 14 | public function get(): string |
| 15 | 15 | { |