@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | use AYazdanpanah\FFMpegStreaming\Format\HEVC; |
| 22 | 22 | use AYazdanpanah\FFMpegStreaming\Format\X264; |
| 23 | 23 | |
| 24 | -if (! function_exists('dash')) { |
|
| 24 | +if (!function_exists('dash')) { |
|
| 25 | 25 | /** |
| 26 | 26 | * Auto generate dash MPD file |
| 27 | 27 | * |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | -if (! function_exists('hls')) { |
|
| 55 | +if (!function_exists('hls')) { |
|
| 56 | 56 | /** |
| 57 | 57 | * Auto generate HLS M3U8 file |
| 58 | 58 | * |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * @param string|null $save_path |
| 62 | 62 | * @return string |
| 63 | 63 | */ |
| 64 | - function hls(string $input_path, string $save_path = null, callable $listener = null) |
|
| 64 | + function hls(string $input_path, string $save_path = null, callable $listener = null) |
|
| 65 | 65 | { |
| 66 | 66 | $format = new X264(); |
| 67 | 67 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | } |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | -if (! function_exists('round_to_even')) { |
|
| 85 | +if (!function_exists('round_to_even')) { |
|
| 86 | 86 | /** |
| 87 | 87 | * Round a number to nearest even number |
| 88 | 88 | * |