@@ -142,7 +142,7 @@ |
||
| 142 | 142 | |
| 143 | 143 | $h = $this->getDimensions()[1]; |
| 144 | 144 | |
| 145 | - $this->side_values = array_values(array_filter($this->side_values, function ($height) use ($h) { |
|
| 145 | + $this->side_values = array_values(array_filter($this->side_values, function($height) use ($h) { |
|
| 146 | 146 | return $height < $h; |
| 147 | 147 | })); |
| 148 | 148 | } |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | try { |
| 52 | 52 | return new Media($this->ffmpeg->open($path), $path, $is_tmp); |
| 53 | 53 | } catch (ExceptionInterface $e) { |
| 54 | - if($is_tmp){ |
|
| 54 | + if ($is_tmp) { |
|
| 55 | 55 | sleep(1); |
| 56 | 56 | unlink($path); |
| 57 | 57 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | $metadata["streams"] = $this->getStreamsMetadata(); |
| 39 | 39 | |
| 40 | 40 | $filename = 'It is not possible to save metadata to clouds.'; |
| 41 | - if(!$this->export->isTmpDir()){ |
|
| 41 | + if (!$this->export->isTmpDir()) { |
|
| 42 | 42 | $filename = $this->saveAsJson($metadata); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | For more information see https://video.aminyazdanpanah.com/start/open-clouds and https://video.aminyazdanpanah.com/start/save-clouds', |
| 35 | 35 | E_USER_DEPRECATED |
| 36 | 36 | ); |
| 37 | - $this->s3 = new S3Client($config);; |
|
| 37 | + $this->s3 = new S3Client($config); ; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |