From 3a544a36d5688912ce35a26fed5a7bd10f27115b Mon Sep 17 00:00:00 2001 From: Luuk van Houdt <71889608+luukvhoudt@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:53:39 +0200 Subject: [PATCH] Add `@psalm-pure` to the `typeToString` method (#303) --- src/Assert.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Assert.php b/src/Assert.php index 7058112..3faecec 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -2102,6 +2102,8 @@ protected static function valueToString($value) } /** + * @psalm-pure + * * @param mixed $value * * @return string