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);
|
return $this->doConversion($raw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO :: add daux version to cache key
|
||||||
$cacheKey = $this->config->getCacheKey() . sha1($raw);
|
$cacheKey = $this->config->getCacheKey() . sha1($raw);
|
||||||
|
|
||||||
$payload = Cache::get($cacheKey);
|
$payload = Cache::get($cacheKey);
|
||||||
|
@ -254,8 +254,6 @@ class Processor implements DocumentProcessorInterface
|
|||||||
$method->invoke($subnode, $firstClone);
|
$method->invoke($subnode, $firstClone);
|
||||||
}
|
}
|
||||||
|
|
||||||
$deepCopy = new DeepCopy();
|
return (new DeepCopy())->copy($firstClone)->children();
|
||||||
|
|
||||||
return $deepCopy->copy($firstClone)->children();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user