|
|
@@ -15,12 +15,10 @@ use Liip\ImagineBundle\Imagine\Cache\CacheManager;
|
|
|
class OnFileChange extends OnChangeDefault
|
|
|
{
|
|
|
public function __construct(
|
|
|
- protected readonly CacheManager $cacheManager
|
|
|
+ protected readonly CacheManager $cacheManager,
|
|
|
) {
|
|
|
-
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public function beforeChange(mixed $file, OnChangeContext $context): void
|
|
|
{
|
|
|
if ($context->previousData() && $context->previousData()->getConfig() !== $file->getConfig()) {
|