Test Failed
Push — master ( a03885...171550 )
by Mostafa
01:00
created
src/Concerns/LaruploadTransformers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/Concerns/Storage/UploadEntity/FFMpegUploadEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Concerns/Storage/Attachment/RetrieveAttachment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Concerns/Standalone/StandaloneLaruploadCallables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Storage/Image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Storage/Proxy/AttachmentProxy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.