From 2cfc3e3fbb03d75c199782e8925b6f4393b75111 Mon Sep 17 00:00:00 2001 From: Andrej Rypo Date: Thu, 28 Sep 2023 09:23:33 +0200 Subject: [PATCH] Add mixed type hint for magic properties --- src/Dibi/Row.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Dibi/Row.php b/src/Dibi/Row.php index 07dfd747..363d5130 100644 --- a/src/Dibi/Row.php +++ b/src/Dibi/Row.php @@ -49,6 +49,9 @@ public function asDateTime(string $key, ?string $format = null) } + /** + * @return mixed + */ public function __get(string $key) { $hint = Helpers::getSuggestion(array_keys((array) $this), $key);