@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Chrisyue\PhpM3u8\Dumper; |
4 | 4 | |
5 | 5 | use Chrisyue\PhpM3u8\Definition\TagDefinitions; |
6 | -use Chrisyue\PhpM3u8\Dumper\DataIterator\DataIteratorInterface; |
|
7 | 6 | use Chrisyue\PhpM3u8\Config; |
8 | 7 | use Chrisyue\PhpM3u8\Line\Lines; |
9 | 8 | use Chrisyue\PhpM3u8\Line\Line; |
@@ -32,7 +32,7 @@ |
||
32 | 32 | $this->tagDefinitions->getHeadProperties(), |
33 | 33 | $data, |
34 | 34 | $lines, |
35 | - function (TagDefinition $tagDefinition) { |
|
35 | + function(TagDefinition $tagDefinition) { |
|
36 | 36 | if ('master-playlist' === $tagDefinition->getCategory()) { |
37 | 37 | $this->isMasterPlaylist = true; |
38 | 38 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | 'hexadecimal-sequence' => 'strval', |
12 | 12 | 'decimal-floating-point' => 'floatval', |
13 | 13 | 'signed-decimal-floating-point' => 'floatval', |
14 | - 'quoted-string' => function ($value) { |
|
14 | + 'quoted-string' => function($value) { |
|
15 | 15 | return trim($value, '"'); |
16 | 16 | }, |
17 | 17 | 'enumerated-string' => 'strval', |
@@ -10,7 +10,7 @@ |
||
10 | 10 | 'hexadecimal-sequence' => 'strval', |
11 | 11 | 'decimal-floating-point' => 'strval', |
12 | 12 | 'signed-decimal-floating-point' => 'strval', |
13 | - 'quoted-string' => function ($value) { |
|
13 | + 'quoted-string' => function($value) { |
|
14 | 14 | return sprintf("%s", $value); |
15 | 15 | }, |
16 | 16 | 'enumerated-string' => 'strval', |