From 04ea5c01c74690ccf9585c637e819b50ae0900a7 Mon Sep 17 00:00:00 2001 From: sasezaki Date: Fri, 11 Feb 2022 11:19:40 +0900 Subject: [PATCH] Removed unnecessary var annotation, it is reported by psalm https://github.com/vimeo/psalm/runs/5150670385?check_suite_focus=true --- src/Psalm/Config.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php index edb4a061f0d..850303fd530 100644 --- a/src/Psalm/Config.php +++ b/src/Psalm/Config.php @@ -764,7 +764,6 @@ private static function validateXmlConfig(string $base_dir, string $file_content $psalm_nodes = $dom_document->getElementsByTagName('psalm'); - /** @var DOMElement|null */ $psalm_node = $psalm_nodes->item(0); if (!$psalm_node) {