@@ -47,7 +47,7 @@ |
||
47 | 47 | * @param string|null $name |
48 | 48 | * @return object|null |
49 | 49 | */ |
50 | - public function getAttachments(?string $name = null): object|null |
|
50 | + public function getAttachments(?string $name = null): object | null |
|
51 | 51 | { |
52 | 52 | if ($name) { |
53 | 53 | if ($attachment = $this->getAttachment($name)) { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | protected int $ffmpegMaxQueueNum; |
30 | 30 | |
31 | 31 | |
32 | - protected function ffmpeg(?UploadedFile $file = null, AudioStyle|VideoStyle|null $style = null): FFMpeg |
|
32 | + protected function ffmpeg(?UploadedFile $file = null, AudioStyle | VideoStyle | null $style = null): FFMpeg |
|
33 | 33 | { |
34 | 34 | $force = false; |
35 | 35 |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @param string|null $key |
17 | 17 | * @return object|string|integer|null |
18 | 18 | */ |
19 | - public function meta(?string $key = null): object|int|string|null |
|
19 | + public function meta(?string $key = null): object | int | string | null |
|
20 | 20 | { |
21 | 21 | if ($key) { |
22 | 22 | $meta = $this->output; |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @param string $style |
92 | 92 | * @return RedirectResponse|StreamedResponse|null |
93 | 93 | */ |
94 | - public function download(string $style = Larupload::ORIGINAL_FOLDER): StreamedResponse|RedirectResponse|null |
|
94 | + public function download(string $style = Larupload::ORIGINAL_FOLDER): StreamedResponse | RedirectResponse | null |
|
95 | 95 | { |
96 | 96 | $path = $this->prepareStylePath($style); |
97 | 97 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @internal |
23 | 23 | */ |
24 | - public function meta(?string $key = null): object|int|string|null |
|
24 | + public function meta(?string $key = null): object | int | string | null |
|
25 | 25 | { |
26 | 26 | if ($this->internalFunctionIsCallable) { |
27 | 27 | return parent::meta($key); |
@@ -99,7 +99,7 @@ |
||
99 | 99 | /** |
100 | 100 | * Retrieve dominant color from image file. |
101 | 101 | */ |
102 | - public function getDominantColor(UploadedFile|string|null $file = null): ?string |
|
102 | + public function getDominantColor(UploadedFile | string | null $file = null): ?string |
|
103 | 103 | { |
104 | 104 | if (is_null($file)) { |
105 | 105 | $file = $this->file; |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | return new AttachmentCover($this->attachment); |
28 | 28 | } |
29 | 29 | |
30 | - public function meta(?string $key = null): object|int|string|null |
|
30 | + public function meta(?string $key = null): object | int | string | null |
|
31 | 31 | { |
32 | 32 | return $this->attachment->meta($key); |
33 | 33 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | return $this->attachment->url($style); |
43 | 43 | } |
44 | 44 | |
45 | - public function download(string $style = Larupload::ORIGINAL_FOLDER): StreamedResponse|RedirectResponse|null |
|
45 | + public function download(string $style = Larupload::ORIGINAL_FOLDER): StreamedResponse | RedirectResponse | null |
|
46 | 46 | { |
47 | 47 | return $this->attachment->download($style); |
48 | 48 | } |