Skip to content

Commit

Permalink
Applied fixes from StyleCI (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire authored Aug 15, 2016
1 parent 471cdbf commit be33b6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DependencyInjection/Compiler/AddProviderCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public function applyFormats(ContainerBuilder $container, array $settings)

foreach ($context['formats'] as $format => $config) {
$config['quality'] = isset($config['quality']) ? $config['quality'] : 80;
$config['format'] = isset($config['format']) ? $config['format'] : 'jpg';
$config['height'] = isset($config['height']) ? $config['height'] : false;
$config['constraint'] = isset($config['constraint']) ? $config['constraint'] : true;
$config['format'] = isset($config['format']) ? $config['format'] : 'jpg';
$config['height'] = isset($config['height']) ? $config['height'] : false;
$config['constraint'] = isset($config['constraint']) ? $config['constraint'] : true;

$formatName = sprintf('%s_%s', $name, $format);
$definition->addMethodCall('addFormat', array($formatName, $config));
Expand Down

0 comments on commit be33b6b

Please sign in to comment.