From bc90a20ace6c7d6e3446b0b9d3ceb1ebeb26126c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Kel=C4=8D=C3=A1k?= Date: Wed, 10 Jul 2024 15:36:30 +0200 Subject: [PATCH] Update Value.php --- src/Value.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Value.php b/src/Value.php index 4710eb6..f95e61e 100644 --- a/src/Value.php +++ b/src/Value.php @@ -84,7 +84,7 @@ public static function converter(string $value, string $converter, string $type) $converters = (array) Config::get('converters', []); - // Type can be view (decode) or save (encode) + // $type can be view (decode) or save (encode) if ( is_callable($converters[$converter][$type]) && ($converted = $converters[$converter][$type]($value)) !== null