From 82e1e52f094dea55c452d7dda1bacf6a51a86dd2 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 26 Mar 2024 18:45:12 +0100 Subject: [PATCH] Add db trait --- src/DbAutoProperties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DbAutoProperties.php b/src/DbAutoProperties.php index 21f41a6..e744c96 100644 --- a/src/DbAutoProperties.php +++ b/src/DbAutoProperties.php @@ -79,7 +79,7 @@ trait DbAutoProperties $v = $config->build($property->getValue()); $property->setValue($v); if ($v instanceof CachedArray) { - $this->properties []= $v->flushCache(); + $this->properties []= $v; } }); }