From 4ccf11686b163a943062faeb595095a5b1e636dc Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sun, 21 Jul 2024 21:26:06 +0200 Subject: [PATCH] fix --- src/Models/Casts/TrustPath.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Casts/TrustPath.php b/src/Models/Casts/TrustPath.php index c3b3896..cf2862c 100644 --- a/src/Models/Casts/TrustPath.php +++ b/src/Models/Casts/TrustPath.php @@ -19,7 +19,7 @@ class TrustPath implements CastsAttributes */ public function get($model, string $key, $value, array $attributes): ?TrustPathLib { - return $value !== null ? app(SerializerInterface::class)->deserialize($value, TrustPath::class, 'json') : null; + return $value !== null ? app(SerializerInterface::class)->deserialize($value, TrustPathLib::class, 'json') : null; } /**