Fix CS
This commit is contained in:
		
					parent
					
						
							
								554cec2bc7
							
						
					
				
			
			
				commit
				
					
						197b534359
					
				
			
		
					 10 changed files with 15 additions and 19 deletions
				
			
		|  | @ -35,7 +35,7 @@ class FFMpegServiceProvider implements ServiceProviderInterface | |||
|             return array_replace($app['ffmpeg.default.configuration'], $app['ffmpeg.configuration']); | ||||
|         }); | ||||
| 
 | ||||
|         $app['ffmpeg'] = $app['ffmpeg.ffmpeg'] = $app->share(function(Application $app) { | ||||
|         $app['ffmpeg'] = $app['ffmpeg.ffmpeg'] = $app->share(function (Application $app) { | ||||
|             $configuration = $app['ffmpeg.configuration.build']; | ||||
| 
 | ||||
|             if (isset($configuration['ffmpeg.timeout'])) { | ||||
|  | @ -49,7 +49,7 @@ class FFMpegServiceProvider implements ServiceProviderInterface | |||
|             return new ArrayCache(); | ||||
|         }); | ||||
| 
 | ||||
|         $app['ffmpeg.ffprobe'] = $app->share(function(Application $app) { | ||||
|         $app['ffmpeg.ffprobe'] = $app->share(function (Application $app) { | ||||
|             $configuration = $app['ffmpeg.configuration.build']; | ||||
| 
 | ||||
|             if (isset($configuration['ffmpeg.timeout'])) { | ||||
|  |  | |||
|  | @ -53,8 +53,8 @@ abstract class AbstractData implements \Countable | |||
|     /** | ||||
|      * Sets the property value given its name. | ||||
|      * | ||||
|      * @param  string $property | ||||
|      * @param  mixed  $value | ||||
|      * @param string $property | ||||
|      * @param mixed  $value | ||||
|      * | ||||
|      * @return AbstractData | ||||
|      */ | ||||
|  |  | |||
|  | @ -24,10 +24,10 @@ class FrameFilters | |||
| 
 | ||||
|     /** | ||||
|      * Fixes the display ratio of the output frame. | ||||
|      *  | ||||
|      * | ||||
|      * In case the sample ratio and display ratio are different, image may be | ||||
|      * anamorphozed. This filter fixes this by specifying the output size. | ||||
|      *  | ||||
|      * | ||||
|      * @return FrameFilters | ||||
|      */ | ||||
|     public function fixDisplayRatio() | ||||
|  |  | |||
|  | @ -13,7 +13,6 @@ namespace FFMpeg\Filters\Video; | |||
| 
 | ||||
| use FFMpeg\Coordinate\Dimension; | ||||
| use FFMpeg\Exception\InvalidArgumentException; | ||||
| use FFMpeg\Exception\RuntimeException; | ||||
| use FFMpeg\Media\Video; | ||||
| use FFMpeg\Format\VideoInterface; | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,7 +12,6 @@ | |||
| namespace FFMpeg\Media; | ||||
| 
 | ||||
| use FFMpeg\Driver\FFMpegDriver; | ||||
| use FFMpeg\Exception\InvalidArgumentException; | ||||
| use FFMpeg\FFProbe; | ||||
| use FFMpeg\Filters\FiltersCollection; | ||||
| use FFMpeg\Media\MediaTypeInterface; | ||||
|  |  | |||
|  | @ -110,7 +110,7 @@ class Frame extends AbstractMediaType | |||
|         foreach ($this->filters as $filter) { | ||||
|             $commands = array_merge($commands, $filter->apply($this)); | ||||
|         } | ||||
|          | ||||
| 
 | ||||
|         $commands = array_merge($commands, array($pathfile)); | ||||
| 
 | ||||
|         try { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue