diff --git a/Inpsyde/Helpers/FunctionDocBlock.php b/Inpsyde/Helpers/FunctionDocBlock.php
index baf6071..95b1f19 100644
--- a/Inpsyde/Helpers/FunctionDocBlock.php
+++ b/Inpsyde/Helpers/FunctionDocBlock.php
@@ -101,7 +101,7 @@ public static function tag(string $tag, File $file, int $position): array
{
$tagName = '@' . ltrim($tag, '@');
$tags = static::allTags($file, $position);
- if (empty($tags[$tagName])) {
+ if (!isset($tags[$tagName]) || $tags[$tagName] === []) {
return [];
}
diff --git a/psalm.xml b/psalm.xml
index d6771a0..1f0adf6 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -27,5 +27,8 @@
+
+
+