the php string type is lowercase

This commit is contained in:
Shish
2023-08-17 18:12:36 +01:00
committed by Shish
parent e2dba09353
commit aa8de9d420
10 changed files with 30 additions and 29 deletions

View File

@@ -180,7 +180,7 @@ class TranscodeVideo extends Extension
}
}
private static function get_output_options(?String $starting_container = null, ?String $starting_codec = null): array
private static function get_output_options(?string $starting_container = null, ?string $starting_codec = null): array
{
$output = ["" => ""];
@@ -199,7 +199,7 @@ class TranscodeVideo extends Extension
return $output;
}
private function transcode_and_replace_video(Image $image, String $target_mime): Image
private function transcode_and_replace_video(Image $image, string $target_mime): Image
{
if ($image->get_mime()==$target_mime) {
return $image;
@@ -243,7 +243,7 @@ class TranscodeVideo extends Extension
}
private function transcode_video(String $source_file, String $source_video_codec, String $target_mime, string $target_file): string
private function transcode_video(string $source_file, string $source_video_codec, string $target_mime, string $target_file): string
{
global $config;