|
@@ -105,7 +105,7 @@ |
|
|
block discarded – undo |
|
105
|
105
|
$pathWebP = $this->projectDir.'/public/'.$media->getRelativeDir().'/'.$filter.'/'.$media->getSlug().'.webp'; |
|
106
|
106
|
$webPConverterOptions = $this->webPConverterOptions; |
|
107
|
107
|
|
|
108
|
|
- $this->pool->add(function () use ($pathJpg, $pathWebP, $webPConverterOptions, $filter) { |
|
|
108
|
+ $this->pool->add(function() use ($pathJpg, $pathWebP, $webPConverterOptions, $filter) { |
|
109
|
109
|
self::imgToWebPStatic($pathJpg, $pathWebP, $webPConverterOptions, $filter); |
|
110
|
110
|
}); |
|
111
|
111
|
} |
Please login to merge, or discard this patch.