Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jygaulier committed Oct 23, 2024
1 parent 90ef4ff commit 7cb5ff1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/php/rendition-factory/src/Config/YamlLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private function parseFamilyConfig(array $data): FamilyBuildConfig

$transformations = [];
foreach ($data['transformations'] as $transformation) {
if($transformation['enabled'] ?? true) {
if ($transformation['enabled'] ?? true) {
$transformations[] = $this->parseTransformation($transformation);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private function doVideo(FormatInterface $ouputFormat, string $extension, InputF
$video = $ffmpeg->open($inputFile->getPath());

$filters = array_values(array_filter($options['filters'] ?? [],
function($filter) {
function ($filter) {
return $filter['enabled'] ?? true;
}));

Expand Down

0 comments on commit 7cb5ff1

Please sign in to comment.