small changes

This commit is contained in:
Stéphane Goetz 2018-09-21 22:12:00 +02:00
bovenliggende d93ad8c6b1
commit 098b566496
2 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen

Bestand weergeven

@ -42,6 +42,7 @@ class ContentType implements \Todaymade\Daux\ContentTypes\ContentType
return $this->doConversion($raw);
}
// TODO :: add daux version to cache key
$cacheKey = $this->config->getCacheKey() . sha1($raw);
$payload = Cache::get($cacheKey);

Bestand weergeven

@ -254,8 +254,6 @@ class Processor implements DocumentProcessorInterface
$method->invoke($subnode, $firstClone);
}
$deepCopy = new DeepCopy();
return $deepCopy->copy($firstClone)->children();
return (new DeepCopy())->copy($firstClone)->children();
}
}