@@ -167,7 +167,7 @@ |
||
| 167 | 167 | */ |
| 168 | 168 | public function getImagesByType(string $type): Collection |
| 169 | 169 | { |
| 170 | - return $this->images->filter(function (ImageInterface $image) use ($type): bool { |
|
| 170 | + return $this->images->filter(function(ImageInterface $image) use ($type): bool { |
|
| 171 | 171 | return $type === $image->getType(); |
| 172 | 172 | }); |
| 173 | 173 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | do { |
| 46 | 46 | $hash = bin2hex(random_bytes(16)); |
| 47 | - $path = $this->expandPath($hash . '.' . $file->guessExtension()); |
|
| 47 | + $path = $this->expandPath($hash.'.'.$file->guessExtension()); |
|
| 48 | 48 | } while ($this->filesystem->has($path)); |
| 49 | 49 | |
| 50 | 50 | $image->setPath($path); |