also looking at this
meemalabs/laravel-media-converter
Apply fixes from StyleCI
#28
7 files
+47
-44
| @@ -7,8 +7,8 @@ interface Converter | ||
| 7 | 7 | /** |
| 8 | 8 | * Sets the path of the file input. |
| 9 | 9 | * |
| 10 | * @param string $path | |
| 11 | * @param string|null $bucket | |
| 10 | * @param string $path | |
| 11 | * @param string|null $bucket | |
| 12 | 12 | * @return \Meema\MediaConverter\Converters\MediaConvert |
| 13 | 13 | */ |
| 14 | 14 | public function path(string $path, $bucket = null); |
| @@ -23,12 +23,12 @@ interface Converter | ||
| 23 | 23 | /** |
| 24 | 24 | * Sets the settings required to generate the proper amount of thumbnails. |
| 25 | 25 | * |
| 26 | * @param int $framerateNumerator | |
| 27 | * @param int $framerateDenominator | |
| 28 | * @param int $maxCaptures | |
| 29 | * @param int|null $width | |
| 30 | * @param string|null $nameModifier | |
| 31 | * @param int $imageQuality | |
| 26 | * @param int $framerateNumerator | |
| 27 | * @param int $framerateDenominator | |
| 28 | * @param int $maxCaptures | |
| 29 | * @param int|null $width | |
| 30 | * @param string|null $nameModifier | |
| 31 | * @param int $imageQuality | |
| 32 | 32 | * @return \Meema\MediaConverter\Converters\MediaConvert |
| 33 | 33 | */ |
| 34 | 34 | public function withThumbnails(int $framerateNumerator, int $framerateDenominator, int $maxCaptures, $width = null, $nameModifier = null, $imageQuality = 80); |
| @@ -36,8 +36,8 @@ interface Converter | ||
| 36 | 36 | /** |
| 37 | 37 | * Sets the path & executes the job. |
| 38 | 38 | * |
| 39 | * @param string $s3Path | |
| 40 | * @param string|null $s3bucket | |
| 39 | * @param string $s3Path | |
| 40 | * @param string|null $s3bucket | |
| 41 | 41 | * @return \Aws\Result |
| 42 | 42 | */ |
| 43 | 43 | public function saveTo(string $s3Path, $s3bucket = null); |
| @@ -45,7 +45,7 @@ interface Converter | ||
| 45 | 45 | /** |
| 46 | 46 | * Cancels an active job. |
| 47 | 47 | * |
| 48 | * @param string $id | |
| 48 | * @param string $id | |
| 49 | 49 | * @return \Aws\Result |
| 50 | 50 | */ |
| 51 | 51 | public function cancelJob(string $id); |
| @@ -53,9 +53,9 @@ interface Converter | ||
| 53 | 53 | /** |
| 54 | 54 | * Creates a new job based on the settings passed. |
| 55 | 55 | * |
| 56 | * @param array $settings | |
| 57 | * @param array $metaData | |
| 58 | * @param int $priority | |
| 56 | * @param array $settings | |
| 57 | * @param array $metaData | |
| 58 | * @param int $priority | |
| 59 | 59 | * @return \Aws\Result |
| 60 | 60 | */ |
| 61 | 61 | public function createJob(array $settings, array $metaData, array $tags, int $priority); |
| @@ -63,7 +63,7 @@ interface Converter | ||
| 63 | 63 | /** |
| 64 | 64 | * Gets the job. |
| 65 | 65 | * |
| 66 | * @param string $id | |
| 66 | * @param string $id | |
| 67 | 67 | * @return \Aws\Result |
| 68 | 68 | */ |
| 69 | 69 | public function getJob(string $id); |
| @@ -71,7 +71,7 @@ interface Converter | ||
| 71 | 71 | /** |
| 72 | 72 | * Lists all of the jobs based on your options provided. |
| 73 | 73 | * |
| 74 | * @param array $options | |
| 74 | * @param array $options | |
| 75 | 75 | * @return \Aws\Result |
| 76 | 76 | */ |
| 77 | 77 | public function listJobs(array $options); |