Skip to content

Commit 4e30bb9

Browse files
Merge branch 'develop' of github.com:kiwilan/php-audio into develop
2 parents d094bf3 + ef321cd commit 4e30bb9

14 files changed

Lines changed: 149 additions & 149 deletions

src/Id3/Reader/Id3Audio.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ class Id3Audio
88
* @param Id3Stream[] $streams
99
*/
1010
protected function __construct(
11-
readonly public ?string $data_format = null,
12-
readonly public ?int $channels = null,
13-
readonly public ?int $sample_rate = null,
14-
readonly public ?float $bitrate = null,
15-
readonly public ?string $channel_mode = null,
16-
readonly public ?string $bitrate_mode = null,
17-
readonly public ?string $codec = null,
18-
readonly public ?string $encoder = null,
19-
readonly public bool $lossless = false,
20-
readonly public ?string $encoder_options = null,
21-
readonly public ?float $compression_ratio = null,
22-
readonly public array $streams = [],
11+
public readonly ?string $data_format = null,
12+
public readonly ?int $channels = null,
13+
public readonly ?int $sample_rate = null,
14+
public readonly ?float $bitrate = null,
15+
public readonly ?string $channel_mode = null,
16+
public readonly ?string $bitrate_mode = null,
17+
public readonly ?string $codec = null,
18+
public readonly ?string $encoder = null,
19+
public readonly bool $lossless = false,
20+
public readonly ?string $encoder_options = null,
21+
public readonly ?float $compression_ratio = null,
22+
public readonly array $streams = [],
2323
) {}
2424

2525
public static function make(?array $metadata): ?self

src/Id3/Reader/Id3AudioTag.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
class Id3AudioTag
99
{
1010
protected function __construct(
11-
readonly public ?Tag\Id3TagAudioV1 $id3v1 = null,
12-
readonly public ?Tag\Id3TagAudioV2 $id3v2 = null,
13-
readonly public ?Tag\Id3TagQuicktime $quicktime = null,
14-
readonly public ?Tag\Id3TagAsf $asf = null,
15-
readonly public ?Tag\Id3TagVorbisComment $vorbiscomment = null,
16-
readonly public ?Tag\Id3TagRiff $riff = null,
17-
readonly public ?Tag\Id3TagMatroska $matroska = null,
18-
readonly public ?Tag\Id3TagApe $ape = null,
19-
readonly public bool $is_empty = false,
11+
public readonly ?Tag\Id3TagAudioV1 $id3v1 = null,
12+
public readonly ?Tag\Id3TagAudioV2 $id3v2 = null,
13+
public readonly ?Tag\Id3TagQuicktime $quicktime = null,
14+
public readonly ?Tag\Id3TagAsf $asf = null,
15+
public readonly ?Tag\Id3TagVorbisComment $vorbiscomment = null,
16+
public readonly ?Tag\Id3TagRiff $riff = null,
17+
public readonly ?Tag\Id3TagMatroska $matroska = null,
18+
public readonly ?Tag\Id3TagApe $ape = null,
19+
public readonly bool $is_empty = false,
2020
) {}
2121

2222
public static function make(?array $metadata): ?self

src/Id3/Reader/Id3Comments.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
class Id3Comments
66
{
77
protected function __construct(
8-
readonly public ?string $language = null,
9-
readonly public ?Id3CommentsPicture $picture = null,
8+
public readonly ?string $language = null,
9+
public readonly ?Id3CommentsPicture $picture = null,
1010
) {}
1111

1212
public static function make(?array $metadata): ?self

src/Id3/Reader/Id3CommentsPicture.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
class Id3CommentsPicture
66
{
77
protected function __construct(
8-
readonly public ?string $data = null,
9-
readonly public ?string $image_mime = null,
10-
readonly public ?int $image_width = null,
11-
readonly public ?int $image_height = null,
12-
readonly public ?string $picture_type = null,
13-
readonly public ?string $description = null,
14-
readonly public ?int $data_length = null,
8+
public readonly ?string $data = null,
9+
public readonly ?string $image_mime = null,
10+
public readonly ?int $image_width = null,
11+
public readonly ?int $image_height = null,
12+
public readonly ?string $picture_type = null,
13+
public readonly ?string $description = null,
14+
public readonly ?int $data_length = null,
1515
) {}
1616

1717
public static function make(?array $metadata): ?self

src/Id3/Reader/Id3Stream.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
class Id3Stream
66
{
77
protected function __construct(
8-
readonly public ?string $data_format = null,
9-
readonly public ?int $channels = null,
10-
readonly public ?int $sample_rate = null,
11-
readonly public ?float $bitrate = null,
12-
readonly public ?string $channel_mode = null,
13-
readonly public ?string $bitrate_mode = null,
14-
readonly public ?string $codec = null,
15-
readonly public ?string $encoder = null,
16-
readonly public bool $lossless = false,
17-
readonly public ?string $encoder_options = null,
18-
readonly public ?float $compression_ratio = null,
8+
public readonly ?string $data_format = null,
9+
public readonly ?int $channels = null,
10+
public readonly ?int $sample_rate = null,
11+
public readonly ?float $bitrate = null,
12+
public readonly ?string $channel_mode = null,
13+
public readonly ?string $bitrate_mode = null,
14+
public readonly ?string $codec = null,
15+
public readonly ?string $encoder = null,
16+
public readonly bool $lossless = false,
17+
public readonly ?string $encoder_options = null,
18+
public readonly ?float $compression_ratio = null,
1919
) {}
2020

2121
public static function make(?array $metadata): ?self

src/Id3/Reader/Id3Video.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
class Id3Video
66
{
77
protected function __construct(
8-
readonly public ?string $data_format = null,
9-
readonly public ?int $rotate = null,
10-
readonly public ?float $resolution_x = null,
11-
readonly public ?float $resolution_y = null,
12-
readonly public ?float $frame_rate = null,
8+
public readonly ?string $data_format = null,
9+
public readonly ?int $rotate = null,
10+
public readonly ?float $resolution_x = null,
11+
public readonly ?float $resolution_y = null,
12+
public readonly ?float $frame_rate = null,
1313
) {}
1414

1515
public static function make(?array $metadata): ?self

src/Id3/Tag/Id3TagApe.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
class Id3TagApe extends Id3Tag
66
{
77
public function __construct(
8-
readonly public ?string $title = null,
9-
readonly public ?string $artist = null,
10-
readonly public ?string $album = null,
11-
readonly public ?string $album_artist = null,
12-
readonly public ?string $composer = null,
13-
readonly public ?string $comment = null,
14-
readonly public ?string $genre = null,
15-
readonly public ?string $disc = null,
16-
readonly public ?string $compilation = null,
17-
readonly public ?string $track = null,
18-
readonly public ?string $date = null,
19-
readonly public ?string $encoder = null,
20-
readonly public ?string $description = null,
21-
readonly public ?string $copyright = null,
22-
readonly public ?string $lyrics = null,
23-
readonly public ?string $podcastdesc = null,
24-
readonly public ?string $language = null,
25-
readonly public ?string $year = null,
8+
public readonly ?string $title = null,
9+
public readonly ?string $artist = null,
10+
public readonly ?string $album = null,
11+
public readonly ?string $album_artist = null,
12+
public readonly ?string $composer = null,
13+
public readonly ?string $comment = null,
14+
public readonly ?string $genre = null,
15+
public readonly ?string $disc = null,
16+
public readonly ?string $compilation = null,
17+
public readonly ?string $track = null,
18+
public readonly ?string $date = null,
19+
public readonly ?string $encoder = null,
20+
public readonly ?string $description = null,
21+
public readonly ?string $copyright = null,
22+
public readonly ?string $lyrics = null,
23+
public readonly ?string $podcastdesc = null,
24+
public readonly ?string $language = null,
25+
public readonly ?string $year = null,
2626
) {}
2727

2828
public static function make(?array $metadata): ?self

src/Id3/Tag/Id3TagAsf.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
class Id3TagAsf extends Id3Tag
66
{
77
public function __construct(
8-
readonly public ?string $title = null,
9-
readonly public ?string $artist = null,
10-
readonly public ?string $album = null,
11-
readonly public ?string $albumartist = null,
12-
readonly public ?string $composer = null,
13-
readonly public ?string $partofset = null,
14-
readonly public ?string $genre = null,
15-
readonly public ?string $track_number = null,
16-
readonly public ?string $year = null,
17-
readonly public ?string $encodingsettings = null,
8+
public readonly ?string $title = null,
9+
public readonly ?string $artist = null,
10+
public readonly ?string $album = null,
11+
public readonly ?string $albumartist = null,
12+
public readonly ?string $composer = null,
13+
public readonly ?string $partofset = null,
14+
public readonly ?string $genre = null,
15+
public readonly ?string $track_number = null,
16+
public readonly ?string $year = null,
17+
public readonly ?string $encodingsettings = null,
1818
) {}
1919

2020
public static function make(?array $metadata): ?self

src/Id3/Tag/Id3TagAudioV1.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
class Id3TagAudioV1 extends Id3Tag
66
{
77
public function __construct(
8-
readonly public ?string $title = null,
9-
readonly public ?string $artist = null,
10-
readonly public ?string $album = null,
11-
readonly public ?string $year = null,
12-
readonly public ?string $genre = null,
13-
readonly public ?string $comment = null,
14-
readonly public ?string $track_number = null,
8+
public readonly ?string $title = null,
9+
public readonly ?string $artist = null,
10+
public readonly ?string $album = null,
11+
public readonly ?string $year = null,
12+
public readonly ?string $genre = null,
13+
public readonly ?string $comment = null,
14+
public readonly ?string $track_number = null,
1515
) {}
1616

1717
public static function make(?array $metadata): ?self

src/Id3/Tag/Id3TagAudioV2.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
class Id3TagAudioV2 extends Id3Tag
66
{
77
public function __construct(
8-
readonly public ?string $album = null,
9-
readonly public ?string $artist = null,
10-
readonly public ?string $band = null,
11-
readonly public ?string $comment = null,
12-
readonly public ?string $composer = null,
13-
readonly public ?string $part_of_a_set = null,
14-
readonly public ?string $genre = null,
15-
readonly public ?string $part_of_a_compilation = null,
16-
readonly public ?string $title = null,
17-
readonly public ?string $track_number = null,
18-
readonly public ?string $year = null,
19-
readonly public ?string $copyright = null,
20-
readonly public ?string $unsynchronised_lyric = null,
21-
readonly public ?string $language = null,
8+
public readonly ?string $album = null,
9+
public readonly ?string $artist = null,
10+
public readonly ?string $band = null,
11+
public readonly ?string $comment = null,
12+
public readonly ?string $composer = null,
13+
public readonly ?string $part_of_a_set = null,
14+
public readonly ?string $genre = null,
15+
public readonly ?string $part_of_a_compilation = null,
16+
public readonly ?string $title = null,
17+
public readonly ?string $track_number = null,
18+
public readonly ?string $year = null,
19+
public readonly ?string $copyright = null,
20+
public readonly ?string $unsynchronised_lyric = null,
21+
public readonly ?string $language = null,
2222
) {}
2323

2424
public static function make(?array $metadata): ?self

0 commit comments

Comments
 (0)