Test Failed
Pull Request — master (#35)
by
unknown
03:58
created
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/UploadEntity/UploadEntityStyle.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,14 +80,14 @@
 block discarded – undo
80 80
         return $this;
81 81
     }
82 82
 
83
-    public function video(string $name, ?int $width = null, ?int $height = null, LaruploadMediaStyle $mode = LaruploadMediaStyle::SCALE_HEIGHT, X264|WebM|Ogg|Mp3|Aac|Wav|Flac $format = new X264, bool $padding = false): UploadEntities
83
+    public function video(string $name, ?int $width = null, ?int $height = null, LaruploadMediaStyle $mode = LaruploadMediaStyle::SCALE_HEIGHT, X264 | WebM | Ogg | Mp3 | Aac | Wav | Flac $format = new X264, bool $padding = false): UploadEntities
84 84
     {
85 85
         $this->videoStyles[$name] = VideoStyle::make($name, $width, $height, $mode, $format, $padding);
86 86
 
87 87
         return $this;
88 88
     }
89 89
 
90
-    public function audio(string $name, Mp3|Aac|Wav|Flac $format = new Mp3): UploadEntities
90
+    public function audio(string $name, Mp3 | Aac | Wav | Flac $format = new Mp3): UploadEntities
91 91
     {
92 92
         $this->audioStyles[$name] = AudioStyle::make($name, $format);
93 93
 
Please login to merge, or discard this patch.
src/DTOs/Style/VideoStyle.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@  discard block
 block discarded – undo
16 16
 class VideoStyle extends Style
17 17
 {
18 18
     public readonly LaruploadMediaStyle            $mode;
19
-    public readonly X264|WebM|Ogg|Mp3|Aac|Wav|Flac $format;
19
+    public readonly X264 | WebM | Ogg | Mp3 | Aac | Wav | Flac $format;
20 20
 
21
-    public function __construct(string $name, ?int $width = null, ?int $height = null, LaruploadMediaStyle $mode = LaruploadMediaStyle::SCALE_HEIGHT, X264|WebM|Ogg|Mp3|Aac|Wav|Flac $format = new X264, bool $padding = false)
21
+    public function __construct(string $name, ?int $width = null, ?int $height = null, LaruploadMediaStyle $mode = LaruploadMediaStyle::SCALE_HEIGHT, X264 | WebM | Ogg | Mp3 | Aac | Wav | Flac $format = new X264, bool $padding = false)
22 22
     {
23 23
         parent::__construct($name, $width, $height, $padding);
24 24
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $this->validateDimension();
29 29
     }
30 30
 
31
-    public static function make(string $name, ?int $width = null, ?int $height = null, LaruploadMediaStyle $mode = LaruploadMediaStyle::SCALE_HEIGHT, X264|WebM|Ogg|Mp3|Aac|Wav|Flac $format = new X264, bool $padding = false): self
31
+    public static function make(string $name, ?int $width = null, ?int $height = null, LaruploadMediaStyle $mode = LaruploadMediaStyle::SCALE_HEIGHT, X264 | WebM | Ogg | Mp3 | Aac | Wav | Flac $format = new X264, bool $padding = false): self
32 32
     {
33 33
         return new self($name, $width, $height, $mode, $format, $padding);
34 34
     }
Please login to merge, or discard this patch.