From 977b2719b8f634dd4b51a697ed10c3524100c868 Mon Sep 17 00:00:00 2001 From: Aleksandr Manichev Date: Wed, 26 Apr 2023 17:42:53 +0300 Subject: [PATCH] Change underlying type for StringValue pseudo type --- src/PseudoTypes/StringValue.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PseudoTypes/StringValue.php b/src/PseudoTypes/StringValue.php index c22eff0..10b1f51 100644 --- a/src/PseudoTypes/StringValue.php +++ b/src/PseudoTypes/StringValue.php @@ -15,7 +15,7 @@ use phpDocumentor\Reflection\PseudoType; use phpDocumentor\Reflection\Type; -use phpDocumentor\Reflection\Types\Float_; +use phpDocumentor\Reflection\Types\String_; use function sprintf; @@ -36,7 +36,7 @@ public function getValue(): string public function underlyingType(): Type { - return new Float_(); + return new String_(); } public function __toString(): string