Update src/Core/Config/Model/ConfigTransaction.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
a46cd2fb36
commit
beff759c82
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ class ConfigTransaction implements ISetConfigValuesTransactionally
|
|||
*
|
||||
* @throws ConfigPersistenceException In case the persistence layer throws errors
|
||||
*
|
||||
*/ public function get(string $cat, string $key)
|
||||
*/
|
||||
public function get(string $cat, string $key)
|
||||
{
|
||||
return !$this->delCache->get($cat, $key) ?
|
||||
($this->cache->get($cat, $key) ?? $this->config->get($cat, $key)) :
|
||||
|
|
Loading…
Reference in a new issue