small changes
This commit is contained in:
parent
d93ad8c6b1
commit
098b566496
@ -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);
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user